Re: slab cache

Stephen C. Tweedie
2002-06-13T16:45:26Z

Hi,

On Fri, Jun 14, 2002 at 12:34:12AM +0800, David Chow wrote:

> Thanks for comment, since you mention about cache, do you mean CPU L2
> caches? I don't use to dynamic alloc and dealloc pages, I have a fixed
> sized cache per CPU, even using vmalloc I will only do it only once
> during module initialize, and dealloc only on unload,

In that case, slab won't have anything to offer you over basic use of
get_free_pages().