Update to reflect the demise of PG_CACHED pages.
Reviewed by: kib, markj Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D8530
This commit is contained in:
parent
099a0e1bea
commit
4fab83fffc
@ -26,7 +26,7 @@
|
||||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd January 28, 2012
|
||||
.Dd November 16, 2016
|
||||
.Dt VM_PAGE_ALLOC 9
|
||||
.Os
|
||||
.Sh NAME
|
||||
@ -52,8 +52,6 @@ The page returned is inserted into the object, unless
|
||||
.Dv VM_ALLOC_NOOBJ
|
||||
is specified in the
|
||||
.Fa req .
|
||||
The page may exist in the vm object cache, in which case it will
|
||||
be reactivated instead, moving from the cache into the object page list.
|
||||
.Pp
|
||||
.Fn vm_page_alloc
|
||||
will not sleep.
|
||||
@ -89,7 +87,7 @@ than zero.
|
||||
.El
|
||||
.Pp
|
||||
The optional flags are:
|
||||
.Bl -tag -width ".Dv VM_ALLOC_IFNOTCACHED"
|
||||
.Bl -tag -width ".Dv VM_ALLOC_NOBUSY"
|
||||
.It Dv VM_ALLOC_NOBUSY
|
||||
The returned page will not be exclusive busy.
|
||||
.It Dv VM_ALLOC_NODUMP
|
||||
@ -100,16 +98,6 @@ Do not associate the allocated page with a vm object.
|
||||
The
|
||||
.Fa object
|
||||
argument is ignored.
|
||||
.It Dv VM_ALLOC_IFCACHED
|
||||
Allocate the page only if it is cached.
|
||||
Otherwise, return
|
||||
.Dv NULL .
|
||||
.It Dv VM_ALLOC_IFNOTCACHED
|
||||
Only allocate the page if it is not cached in the
|
||||
.Fa object .
|
||||
If the page at the specified
|
||||
.Fa pindex
|
||||
is cached, NULL is returned instead.
|
||||
.It Dv VM_ALLOC_SBUSY
|
||||
The returned page will be shared busy.
|
||||
.It Dv VM_ALLOC_WIRED
|
||||
|
Loading…
Reference in New Issue
Block a user