Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Sep 2003 12:42:35 -0400
From:      Jake Burkholder <jake@locore.ca>
To:        Jeff Roberson <jeff@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/vm uma_core.c
Message-ID:  <20030920164235.GM981@locore.ca>
In-Reply-To: <200309190853.h8J8rX18074215@repoman.freebsd.org>
References:  <200309190853.h8J8rX18074215@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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
> 



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