> How about this (untested) instead. If we can avoid using cachep->slabs_free its
> a good thing. Why use three lists when two can do the job? I use a loop to clean
> the partial list since its possible that for some caches we may want to have more
> than one slabp of buffer.
This patch seems to work for me too (though I have tested it only
lightly)
At least it fixes the false kmem_cache_destroy() report vs. 2.5.39
regards
john
-- "When your name is Winner, that's it. You don't need a nickname." - Loser Lane - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/