Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2003 14:29:34 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Jake Burkholder <jake@locore.ca>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm uma_core.c 
Message-ID:  <20030922212934.392A72A7EA@canning.wemm.org>
In-Reply-To: <20030920164235.GM981@locore.ca> 

next in thread | previous in thread | raw e-mail | index | archive | help
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@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030922212934.392A72A7EA>