Date: Fri, 22 Jul 2005 23:22:29 +0000 (UTC) From: Peter Grehan <grehan@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/ofw/libofw ofw_copy.c Message-ID: <200507222322.j6MNMToa048766@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
grehan 2005-07-22 23:22:29 UTC
FreeBSD src repository
Modified files:
sys/boot/ofw/libofw ofw_copy.c
Log:
Make code match comment: make the smallest unit of page allocation
from OpenFirmware be 16 pages to avoid fragmentation in the list
of mappings returned when the kernel requests it in pmap_bootstrap.
This allows a static buffer to be used when obtaining the existing
mappings - very useful on the G5 when random physical pages can't
be grabbed because they can't be BAT-mapped.
MFC after: 3 days
Revision Changes Path
1.16 +5 -3 src/sys/boot/ofw/libofw/ofw_copy.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507222322.j6MNMToa048766>
