mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
Assert that the page queues lock is held in pmap_testbit().
This commit is contained in:
parent
35c016315f
commit
84cdcd85a0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108337
@ -3007,7 +3007,7 @@ pmap_testbit(m, bit)
|
||||
return FALSE;
|
||||
|
||||
s = splvm();
|
||||
|
||||
mtx_assert(&vm_page_queue_mtx, MA_OWNED);
|
||||
TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) {
|
||||
/*
|
||||
* if the bit being tested is the modified bit, then
|
||||
|
@ -3007,7 +3007,7 @@ pmap_testbit(m, bit)
|
||||
return FALSE;
|
||||
|
||||
s = splvm();
|
||||
|
||||
mtx_assert(&vm_page_queue_mtx, MA_OWNED);
|
||||
TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) {
|
||||
/*
|
||||
* if the bit being tested is the modified bit, then
|
||||
|
Loading…
Reference in New Issue
Block a user