cvs commit: src/sys/amd64/amd64 pmap.c src/sys/i386/i386 pmap.c

Alan Cox alc at FreeBSD.org
Wed Jan 2 00:54:40 PST 2008


alc         2008-01-02 08:54:39 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/amd64      pmap.c 
    sys/i386/i386        pmap.c 
  Log:
  Provide a legitimate pindex to vm_page_alloc() in pmap_growkernel()
  instead of writing apologetic comments.  As it turns out, I need every
  kernel page table page to have a legitimate pindex to support superpage
  promotion on kernel memory.
  
  Correct a nearby style error: Pointers should be compared to NULL.
  
  Revision  Changes    Path
  1.600     +3 -6      src/sys/amd64/amd64/pmap.c
  1.603     +2 -5      src/sys/i386/i386/pmap.c


More information about the cvs-src mailing list