cvs commit: src/sys/boot/ofw/libofw ofw_copy.c

Peter Grehan grehan at FreeBSD.org
Fri Jul 22 23:22:30 GMT 2005


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


More information about the cvs-src mailing list