Assert that the containing vm object's lock is held in
vm_page_zero_invalid().
This commit is contained in:
parent
cd719b55bd
commit
874f526de6
@ -1641,6 +1641,7 @@ vm_page_zero_invalid(vm_page_t m, boolean_t setvalid)
|
||||
int b;
|
||||
int i;
|
||||
|
||||
VM_OBJECT_LOCK_ASSERT(m->object, MA_OWNED);
|
||||
/*
|
||||
* Scan the valid bits looking for invalid sections that
|
||||
* must be zerod. Invalid sub-DEV_BSIZE'd areas ( where the
|
||||
|
Loading…
x
Reference in New Issue
Block a user