[PATCH -mm v3 1/7] memcg, slab: never try to merge memcg caches

2014-02-19 Thread Vladimir Davydov
When a kmem cache is created (kmem_cache_create_memcg()), we first try to find a compatible cache that already exists and can handle requests from the new cache, i.e. has the same object size, alignment, ctor, etc. If there is such a cache, we do not create any new caches, instead we simply

[PATCH -mm v3 1/7] memcg, slab: never try to merge memcg caches

2014-02-19 Thread Vladimir Davydov
When a kmem cache is created (kmem_cache_create_memcg()), we first try to find a compatible cache that already exists and can handle requests from the new cache, i.e. has the same object size, alignment, ctor, etc. If there is such a cache, we do not create any new caches, instead we simply