HomeFreeBSD

Add a return value to vm_page_remove().

Description

Add a return value to vm_page_remove().

Use it to indicate whether the page may be safely freed following
its removal from the object. Also change vm_page_remove() to assume
that the page's object pointer is non-NULL, and have callers perform
this check instead.

This is a step towards an implementation of an atomic reference counter
for each physical page structure.

Reviewed by: alc, dougm, kib
MFC after: 1 week
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D20758

Details

Committed
markjJun 26 2019, 5:37 PM
Reviewer
alc
Differential Revision
D20758: Add a return value to vm_page_remove().
Parents
rS349431: fusefs: implement protocol 7.23's FUSE_WRITEBACK_CACHE option
Branches
Unknown
Tags
Unknown