o Lock page queue accesses by vm_page_wire().
This commit is contained in:
parent
fc7d322ea5
commit
de5cd2ab63
@ -949,9 +949,11 @@ pmap_swapin_thread(struct thread *td)
|
||||
m->valid = VM_PAGE_BITS_ALL;
|
||||
}
|
||||
ma[i] = m;
|
||||
vm_page_lock_queues();
|
||||
vm_page_wire(m);
|
||||
vm_page_wakeup(m);
|
||||
vm_page_flag_set(m, PG_MAPPED | PG_WRITEABLE);
|
||||
vm_page_unlock_queues();
|
||||
}
|
||||
pmap_qenter(ks, ma, KSTACK_PAGES);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user