On Tue, 15 Apr 2014, Vladimir Davydov wrote: > 2) When freeing an object of a dead memcg cache, initiate thorough check > if the cache is really empty and destroy it then. That could be > implemented by poking the reaping thread on kfree, and actually does not > require the schedule_work in memcg_release_pages IMO. There is already logic in both slub and slab that does that on cache close. -- 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>