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

개요

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

vm_page_alloc(9)

The function allocates a page at within It is assumed that a page
has  not  already been allocated at The page returned is inserted
into the object, unless is specified in the will not sleep.   Its
arguments  are: The VM object to allocate the page for.  The must
be locked if is not specified.  The  index  into  the  object  at
which the page should be inserted.  The bitwise-inclusive OR of a
class  and  any  optional flags indicating how the page should be
allocated.  Exactly one of the following classes must  be  speci‐
fied:  The  page  should  be allocated with no special treatment.
The page can be allocated if the cache is empty and the free page
count is above the interrupt  reserved  water  mark.   This  flag
should  be  used  only when the system really needs the page.  is
being called during an interrupt.  A page will be  returned  suc‐
cessfully  if  the free page count is greater than zero.  The op‐
tional flags are: The returned page will not be  exclusive  busy.
The  returned  page will not be included in any kernel core dumps
regardless of whether or not it is mapped in to KVA.  Do not  as‐
sociate the allocated page with a vm object.  The argument is ig‐
nored.  The returned page will be shared busy.  The returned page
will  be  wired.   Indicate  a  preference for a pre-zeroed page.
There is no guarantee that the returned page will be zeroed,  but
it  will  have  the flag set if it is zeroed.  The that was allo‐
cated is returned if successful;  otherwise,  is  returned.   The
pager  process  is always upgraded to unless is set.  This manual
page was written by









































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