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

Provenance
markjAuthored on Jun 26 2019, 5:37 PM
Parents
rG926c3367c8dd: owc_gpiobus: clean / fix up the driver module things
Branches
Unknown
Tags
Unknown

Event Timeline