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:
peter 2001-11-16 02:41:31 +00:00
parent fccf958cd6
commit 769b1167a1

View File

@ -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;
}