]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In general, when we map a page into the kernel's address space, we no
authorAlan Cox <alc@FreeBSD.org>
Tue, 21 Aug 2007 04:59:34 +0000 (04:59 +0000)
committerAlan Cox <alc@FreeBSD.org>
Tue, 21 Aug 2007 04:59:34 +0000 (04:59 +0000)
commit8beae25391c6115675742bef104e8cb749d6b873
treee09e1fbbb1ae253abdd9df544be4edcfe4b34d8f
parent7dd9c45f26ee93d719b2b19dda6ebf5528cbc6e6
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)
sys/amd64/amd64/pmap.c
sys/i386/i386/pmap.c