vm_page_free_prep(): correct description of the required page and object state.
Reviewed by: markj Sponsored by: The FreeBSD Foundation Differential revision: https://reviews.freebsd.org/D25482
This commit is contained in:
parent
4928d02766
commit
ee06cffcd2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362670
@ -3666,8 +3666,9 @@ vm_page_enqueue(vm_page_t m, uint8_t queue)
|
|||||||
* disassociating it from any VM object. The caller may return
|
* disassociating it from any VM object. The caller may return
|
||||||
* the page to the free list only if this function returns true.
|
* the page to the free list only if this function returns true.
|
||||||
*
|
*
|
||||||
* The object must be locked. The page must be locked if it is
|
* The object, if it exists, must be locked, and then the page must
|
||||||
* managed.
|
* be xbusy. Otherwise the page must be not busied. A managed
|
||||||
|
* page must be unmapped.
|
||||||
*/
|
*/
|
||||||
static bool
|
static bool
|
||||||
vm_page_free_prep(vm_page_t m)
|
vm_page_free_prep(vm_page_t m)
|
||||||
|
Loading…
Reference in New Issue
Block a user