Subject: Re: pool_get()/pool_put() or malloc()/free()
To: Izumi Tsutsui <email@example.com>
From: Jason R Thorpe <firstname.lastname@example.org>
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 <email@example.com>