This patch set does exactly the same thing as https://lkml.org/lkml/2014/9/18/315 but it's commented better (thanks to Michal). Vladimir Davydov (3): memcg: move memcg_{alloc,free}_cache_params to slab_common.c memcg: don't call memcg_update_all_caches if new cache id fits memcg: move memcg_update_cache_size to slab_common.c include/linux/memcontrol.h | 15 ----- mm/memcontrol.c | 154 ++++++++++++-------------------------------- mm/slab_common.c | 74 ++++++++++++++++++++- 3 files changed, 111 insertions(+), 132 deletions(-) -- 1.7.10.4 -- 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>