Andrew Morton a écrit : > Eric Dumazet wrote: > >> Hi Andrew >> >> It seems latest kernels have a problem in kmem_cache_destroy() >> > > Mainline, or just -mm? > > Mainline and mm it seems, only if NUMA is ON, on 2.6.17 only (2.6.16.XX is OK) I added some printks and it seems slab_partials is not empty in __node_shrink() for node 0 I am not a mm/slab.c expert but the following patch cures the problem for me : [PATCH] slab : NUMA may need __cache_shrink() doing two loops. Signed-off-by: Eric Dumazet