cvs commit: src/sys/vm uma_core.c

Jeff Roberson jeff at
Fri Sep 19 01:53:35 PDT 2003

jeff        2003/09/19 01:53:33 PDT

  FreeBSD src repository

  Modified files:
    sys/vm               uma_core.c 
   - Move the logic for dealing with the uma_boot_pages cache into the
     page_alloc() function from the slab_zalloc() function.  This allows us
     to unconditionally call uz_allocf().
   - In page_alloc() cleanup the boot_pages logic some.  Previously memory from
     this cache that was not used by the time the system started was left in
     the cache and never used.  Typically this wasn't more than a few pages,
     but now we will use this cache so long as memory is available.
  Revision  Changes    Path
  1.79      +22 -21    src/sys/vm/uma_core.c

More information about the cvs-src mailing list