Date: Mon, 5 Mar 2001 22:06:43 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha pmap.c src/sys/i386/i386 pmap.c src/sys/ia64/ia64 pmap.c src/sys/vm pmap.h vm_page.c Message-ID: <200103060606.f2666in65198@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/03/05 22:06:43 PST
Modified files:
sys/alpha/alpha pmap.c
sys/i386/i386 pmap.c
sys/ia64/ia64 pmap.c
sys/vm pmap.h vm_page.c
Log:
- Rework pmap_map() to take advantage of direct-mapped segments on
supported architectures such as the alpha. This allows us to save
on kernel virtual address space, TLB entries, and (on the ia64) VHPT
entries. pmap_map() now modifies the passed in virtual address on
architectures that do not support direct-mapped segments to point to
the next available virtual address. It also returns the actual
address that the request was mapped to.
- On the IA64 don't use a special zone of PV entries needed for early
calls to pmap_kenter() during pmap_init(). This gets us in trouble
because we end up trying to use the zone allocator before it is
initialized. Instead, with the pmap_map() change, the number of needed
PV entries is small enough that we can get by with a static pool that is
used until pmap_init() is complete.
Submitted by: dfr
Debugging help: peter
Tested by: me
Revision Changes Path
1.52 +10 -10 src/sys/alpha/alpha/pmap.c
1.274 +15 -7 src/sys/i386/i386/pmap.c
1.12 +27 -33 src/sys/ia64/ia64/pmap.c
1.38 +2 -2 src/sys/vm/pmap.h
1.158 +10 -17 src/sys/vm/vm_page.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103060606.f2666in65198>
