On 08/24/2012 08:10 PM, Christoph Lameter wrote: > kmem_cache_destroy does basically the same in all allocators. > > Extract common code which is easy since we already have common mutex handling. > > V1-V2: > - Move percpu freeing to later so that we fail cleaner if > objects are left in the cache [JoonSoo Kim] > > Signed-off-by: Christoph Lameter <cl@xxxxxxxxx> This code is subtle and could benefit from other reviewers. From my side, I reviewed it, tested it, and couldn't find any obvious problems. Reviewed-by: Glauber Costa <glommer@xxxxxxxxxxxxx> -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>