aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/drm2/drm_context.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2019-06-26 17:37:51 +0000
committerMark Johnston <markj@FreeBSD.org>2019-06-26 17:37:51 +0000
commit0fd977b3fa32d54b61554416363faae8a7bfaa2b (patch)
tree224a32e71fe89996fe93ab9584f9613473e1b38d /sys/dev/drm2/drm_context.c
parent926c3367c8dd9bf69c81699618ce2a71c6fa7bc3 (diff)
downloadsrc-0fd977b3fa32d54b61554416363faae8a7bfaa2b.tar.gz
src-0fd977b3fa32d54b61554416363faae8a7bfaa2b.zip
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
Notes
Notes: svn path=/head/; revision=349432
Diffstat (limited to 'sys/dev/drm2/drm_context.c')
0 files changed, 0 insertions, 0 deletions