Subject: Re: pool_get()/pool_put() or malloc()/free()
To: Atsushi Onoe <onoe@sm.sony.co.jp>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 10/27/2000 09:52:34
On Fri, Oct 27, 2000 at 11:57:01PM +0900, Atsushi Onoe wrote:
> Hmm. Is it still possible this technic is used for malloc()?
> I remember I've changed all malloc() whose size is less than or equal to
> page size returns KSEG0 address instead of KSEG2 address, and the
> performance for compiling kernel was improved over 10% at the SVR4
> for MIPS cpu.
That sounds like a cool idea, but our kernel malloc would need to be
seriously reworked to handle that (bucket size is determined by address
of the object).
--
-- Jason R. Thorpe <thorpej@zembu.com>