Print this page
[mq]: core-v2
*** 2980,2991 ****
* on the hash chain using p_vpnext
* p_vpprev of the base constituent
* page of each large page.
*/
first_pp = pp;
! while (IS_DUMP_PAGE(pp) || !page_trylock_cons(pp,
! SE_EXCL)) {
if (szc == 0) {
pp = pp->p_next;
} else {
pp = pp->p_vpnext;
}
--- 2980,2990 ----
* on the hash chain using p_vpnext
* p_vpprev of the base constituent
* page of each large page.
*/
first_pp = pp;
! while (!page_trylock_cons(pp, SE_EXCL)) {
if (szc == 0) {
pp = pp->p_next;
} else {
pp = pp->p_vpnext;
}
*** 4023,4033 ****
first_pp = pp;
ASSERT(pp->p_vnode);
ASSERT(PP_ISAGED(pp) == 0);
ASSERT(pp->p_szc == 0);
ASSERT(PFN_2_MEM_NODE(pp->p_pagenum) == mnode);
! while (IS_DUMP_PAGE(pp) || !page_trylock(pp, SE_EXCL)) {
pp = pp->p_next;
ASSERT(pp->p_szc == 0);
if (pp == first_pp) {
/*
* We have searched the complete list!
--- 4022,4032 ----
first_pp = pp;
ASSERT(pp->p_vnode);
ASSERT(PP_ISAGED(pp) == 0);
ASSERT(pp->p_szc == 0);
ASSERT(PFN_2_MEM_NODE(pp->p_pagenum) == mnode);
! while (!page_trylock(pp, SE_EXCL)) {
pp = pp->p_next;
ASSERT(pp->p_szc == 0);
if (pp == first_pp) {
/*
* We have searched the complete list!