cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c
Alan Cox
alc at FreeBSD.org
Mon Aug 20 21:59:34 PDT 2007
alc 2007-08-21 04:59:34 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 pmap.c
sys/i386/i386 pmap.c
Log:
In general, when we map a page into the kernel's address space, we no
longer create a pv entry for that mapping. (The two exceptions are
mappings into the kernel's exec and pipe submaps.) Consequently, there is
no reason for get_pv_entry() to dig deep into the free page queues, i.e.,
use VM_ALLOC_SYSTEM, by default. This revision changes get_pv_entry() to
use VM_ALLOC_NORMAL by default, i.e., before calling pmap_collect() to
reclaim pv entries.
Approved by: re (kensmith)
Revision Changes Path
1.590 +3 -4 src/sys/amd64/amd64/pmap.c
1.594 +3 -4 src/sys/i386/i386/pmap.c
More information about the cvs-src
mailing list