1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00

Assert that the page queues lock is held in pmap_page_exists_quick().

Approved by:	re (blanket)
This commit is contained in:
Alan Cox 2002-11-30 17:46:59 +00:00
parent ccda14e09f
commit 0d51d232e5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107410
2 changed files with 2 additions and 2 deletions

View File

@ -2867,7 +2867,7 @@ pmap_page_exists_quick(pmap, m)
return FALSE;
s = splvm();
mtx_assert(&vm_page_queue_mtx, MA_OWNED);
TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) {
if (pv->pv_pmap == pmap) {
splx(s);

View File

@ -2867,7 +2867,7 @@ pmap_page_exists_quick(pmap, m)
return FALSE;
s = splvm();
mtx_assert(&vm_page_queue_mtx, MA_OWNED);
TAILQ_FOREACH(pv, &m->md.pv_list, pv_list) {
if (pv->pv_pmap == pmap) {
splx(s);