CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2015/03/09 01:46:03

Modified files:
        sys/arch/i386/i386: pmap.c 

Log message:
Switch pv entries over to a pool in preparation for making the i386 (more)
mpsafe.  Most (all?) other architectures now use pools for this, including
non-direct pmap architetcures like sparc and sparc64.  Use a special back-end
allocator for pool pages to solve bootstrapping problems.  This back-end
allocator allocates the initial pages from kernel_map, switching to the
uvm_km_page allocator once the pmap has been fully initialized.  The old
pv entry allocator allocated pages from kmem_map.  Using the uvm_km_page
allocator avoids certain locking issues, but might change behaviour under
kva pressure.  Time will tell if that's a good or a bad thing.

ok mlarkin@, deraadt@

Reply via email to