Searched hist:afb69e6b3e0157d103a30c2d5b8a5c60684c659f (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/vm/ |
H A D | vm_page.h | diff afb69e6b3e0157d103a30c2d5b8a5c60684c659f Sat Aug 09 07:00:34 CEST 2014 Konstantin Belousov <kib@FreeBSD.org> Adapt vm_page_aflag_set(PGA_WRITEABLE) to the locking of pmap_enter(PMAP_ENTER_NOSLEEP). The PGA_WRITEABLE flag can be set when either the page is busied, or the owner object is locked.
Update comments, move all assertions about page state when PGA_WRITEABLE flag is set, into new helper vm_page_assert_pga_writeable().
Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
|
H A D | vm_page.c | diff afb69e6b3e0157d103a30c2d5b8a5c60684c659f Sat Aug 09 07:00:34 CEST 2014 Konstantin Belousov <kib@FreeBSD.org> Adapt vm_page_aflag_set(PGA_WRITEABLE) to the locking of pmap_enter(PMAP_ENTER_NOSLEEP). The PGA_WRITEABLE flag can be set when either the page is busied, or the owner object is locked.
Update comments, move all assertions about page state when PGA_WRITEABLE flag is set, into new helper vm_page_assert_pga_writeable().
Reviewed by: alc Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
|