Subject: Re: pool_get()/pool_put() or malloc()/free()
To: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 10/25/2000 12:16:50
On Thu, Oct 26, 2000 at 12:48:55AM +0900, Izumi Tsutsui wrote:

 > Is there any advantage to use pool_get()/pool_put() pair
 > than malloc()/free() ?

Yes -- doesn't use kmem_map (saves that precious range of KVA
space), and is more efficient, since it can compact the structures,
rather than doing power-of-two allocation.

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>