]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Make code match comment: make the smallest unit of page allocation
authorgrehan <grehan@FreeBSD.org>
Fri, 22 Jul 2005 23:22:29 +0000 (23:22 +0000)
committergrehan <grehan@FreeBSD.org>
Fri, 22 Jul 2005 23:22:29 +0000 (23:22 +0000)
commit68bcd3918197c9561c492ead8d3bf66f198b219f
tree516fe2d0284dc94de09853c86583e23c9192fbe6
parentff37742b9af65679892bd9a56bd9748cb09d4d7b
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
sys/boot/ofw/libofw/ofw_copy.c