cvs commit: src/sys/vm uma_core.c

Peter Wemm peter at wemm.org
Mon Sep 22 14:29:35 PDT 2003


Jake Burkholder wrote:
> 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 i
    n
> >      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.

Has there been any followup on this that I've missed?  Do we need to update
the MD functions to deal with boot pages or is something better in the
pipeline?

Cheers,
-Peter
--
Peter Wemm - peter at wemm.org; peter at FreeBSD.org; peter at yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



More information about the cvs-src mailing list