mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 14:49:36 -04:00
Assert that the page queues lock is held in pmap_testbit().
This commit is contained in:
parent
35c016315f
commit
84cdcd85a0
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue