freebsd-nq/sys/amd64/sgx
Mark Johnston 0fd977b3fa 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
2019-06-26 17:37:51 +00:00
..
sgx_linux.c Fix refcount leaks in the SGX Linux compat ioctl handler. 2019-02-17 16:43:44 +00:00
sgx_support.S
sgx.c Add a return value to vm_page_remove(). 2019-06-26 17:37:51 +00:00
sgxvar.h