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:
parent
ccda14e09f
commit
0d51d232e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=107410
@ -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);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user