Date: Tue, 8 Jul 2008 22:59:17 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 pmap.c src/sys/amd64/include pmap.h vmparam.h Message-ID: <200807082259.m68MxRuf036850@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
alc 2008-07-08 22:59:17 UTC FreeBSD src repository Modified files: sys/amd64/amd64 pmap.c sys/amd64/include pmap.h vmparam.h Log: SVN rev 180373 on 2008-07-08 22:59:17Z by alc Eliminate pmap_growkernel()'s dependence on create_pagetables() preallocating page directory pages from VM_MIN_KERNEL_ADDRESS through the end of the kernel's bss. Specifically, the dependence was in pmap_growkernel()'s one- time initialization of kernel_vm_end, not in its main body. (I could not, however, resist the urge to optimize the main body.) Reduce the number of preallocated page directory pages to just those needed to support NKPT page table pages. (In fact, this allows me to revert a couple of my earlier changes to create_pagetables().) Revision Changes Path 1.627 +30 -25 src/sys/amd64/amd64/pmap.c 1.146 +2 -2 src/sys/amd64/include/pmap.h 1.56 +2 -2 src/sys/amd64/include/vmparam.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807082259.m68MxRuf036850>