Assert that the page queues lock rather than Giant is held in
vm_page_flag_clear().
This commit is contained in:
parent
2cde7c14b4
commit
2ee5fea7d3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108370
@ -285,7 +285,8 @@ vm_page_flag_set(vm_page_t m, unsigned short bits)
|
||||
void
|
||||
vm_page_flag_clear(vm_page_t m, unsigned short bits)
|
||||
{
|
||||
GIANT_REQUIRED;
|
||||
|
||||
mtx_assert(&vm_page_queue_mtx, MA_OWNED);
|
||||
m->flags &= ~bits;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user