1
0
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:
Alan Cox 2002-12-28 00:19:40 +00:00
parent 35c016315f
commit 84cdcd85a0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=108337
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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