mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Merge another missing part of i386/pmap.c rev 1.220. Dont blindly clear
the PG_BUSY flag without using the code that wakes up something else that may be sleeping on it.
This commit is contained in:
parent
22524ffbb2
commit
ee0e75a4e0
1 changed files with 2 additions and 1 deletions
|
|
@ -1537,8 +1537,9 @@ _pmap_allocpte(pmap, ptepindex)
|
|||
bzero((caddr_t) ALPHA_PHYS_TO_K0SEG(ptepa), PAGE_SIZE);
|
||||
|
||||
m->valid = VM_PAGE_BITS_ALL;
|
||||
vm_page_flag_clear(m, PG_ZERO | PG_BUSY);
|
||||
vm_page_flag_clear(m, PG_ZERO);
|
||||
vm_page_flag_set(m, PG_MAPPED);
|
||||
vm_page_wakeup(m);
|
||||
|
||||
return m;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue