vm_page_insert(9) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

vm_page_insert(9)

The  function adds a page to the given object at the given index.
The page is added to both the VM page hash table and to  the  ob‐
ject's  list  of  pages, but the hardware page tables are not up‐
dated.  In the case of a user page, it will be faulted in when it
is accessed.  If the page is a kernel page,  the  caller  is  ex‐
pected to handle adding the page to the kernel's pmap.  If is set
in  the  page's  flags,  and  are set in the object's flags.  The
function removes the given page from its object, and from the  VM
page  hash  table.   The page must be busy prior to this call, or
the system will panic.  The pmap entry for the page  is  not  re‐
moved by this function.  The arguments to are: The page to add to
the  object.   The object the page should be added to.  The index
into the object the page should be at.  The arguments to are: The
page to remove.  The index of a page in a VM object is  the  byte
index into the same object truncated to a page boundary.  For ex‐
ample, if the page size is 4096 bytes, and the address in the ob‐
ject  is 81944, the page index is 20.  This manual page was writ‐
ten by
















































맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3