[Devel] Re: [PATCH] Show slab memory usage on OOM and SysRq-M

Pekka J Enberg penberg at cs.helsinki.fi
Tue Apr 17 23:17:19 PDT 2007


On Tue, 17 Apr 2007, Eric Dumazet wrote:
> This nr_pages should be in struct kmem_list3, not in struct kmem_cache, 
> or else you defeat NUMA optimizations if touching a field in kmem_cache 
> at kmem_getpages()/kmem_freepages() time.

We already touch ->flags, ->gfpflags, and ->gfporder in kmem_getpages(). 
Sorry for my ignorance, but how is this different?




More information about the Devel mailing list