cvs commit: src/sys/vm uma_core.c

Jake Burkholder jake at locore.ca
Sat Sep 20 09:43:32 PDT 2003


Apparently, On Fri, Sep 19, 2003 at 01:53:33AM -0700,
	Jeff Roberson said words to the effect of;

> jeff        2003/09/19 01:53:33 PDT
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/vm               uma_core.c 
>   Log:
>    - 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.

This doesn't take UMA_MD_SMALL_ALLOC into account.  uma_small_alloc doesn't
know about the boot pages so it wanders into the vm system too early.

Jake

>   
>   Revision  Changes    Path
>   1.79      +22 -21    src/sys/vm/uma_core.c
> 


More information about the cvs-src mailing list