VM_PAGE_RENAME(9)
πΈ vm_page_rename(9) β move a page πΈ
bestie, welcome to the Kernel Developer's Manual, section 9 β this one is literally called VM_PAGE_RENAME(9) and it is all about moving a page. no cap. π«Ά
β¨ NAME β¨
vm_page_rename β move a page
π¦ SYNOPSIS π¦
#include <sys/param.h>
#include <vm/vm.h>
#include <vm/vm_page.h>
void
vm_page_rename(vm_page_t m, vm_object_t new_object,
vm_pindex_t new_pindex);
π DESCRIPTION π
okay so the vm_page_rename() function removes a page from one object and adds it to another at the given page index. the page gets added to the given object, and it is removed from the object that is currently associated with. π
if the page is currently on the cache queue, it will be deactivated β unless it is wired or unmanaged, and in that case the deactivation will fail. π the entire page is marked as dirty after the move. periodt.
the arguments to vm_page_rename() are:
mβ the page to move.new_objectβ the object the page should be inserted into.new_pindexβ the page index intonew_objectat which the new page should be inserted.
π AUTHORS π
this manual page was written by Chad David <davidc@acns.ab.ca>. π«Ά
and that is the whole vibe check, bestie π this page is from Debian, dated July 17, 2001, and it is filed under VM_PAGE_RENAME(9). slay. π
β¨
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms