Re: [Devel] [PATCH] memcg, slab: cleanup memcg cache creation

2014-02-04 Thread Vladimir Davydov
On 02/04/2014 07:33 PM, Michal Hocko wrote: > On Tue 04-02-14 11:39:07, Vladimir Davydov wrote: >> This patch cleanups the memcg cache creation path as follows: >> - Move memcg cache name creation to a separate function to be called >>from kmem_cache_create_memcg(). This allows us to get rid o

Re: [Devel] [PATCH] memcg, slab: cleanup memcg cache creation

2014-02-04 Thread Michal Hocko
On Tue 04-02-14 11:39:07, Vladimir Davydov wrote: > This patch cleanups the memcg cache creation path as follows: > - Move memcg cache name creation to a separate function to be called >from kmem_cache_create_memcg(). This allows us to get rid of the >mutex protecting the temporary buffer

[Devel] [PATCH] memcg, slab: cleanup memcg cache creation

2014-02-03 Thread Vladimir Davydov
This patch cleanups the memcg cache creation path as follows: - Move memcg cache name creation to a separate function to be called from kmem_cache_create_memcg(). This allows us to get rid of the mutex protecting the temporary buffer used for the name formatting, because the whole cache c