Re: [PATCH -mm v3 2/7] memcg, slab: cleanup memcg cache creation

2014-02-22 Thread Vladimir Davydov
On 02/22/2014 04:11 AM, Andrew Morton wrote: > On Thu, 20 Feb 2014 11:22:04 +0400 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

Re: [PATCH -mm v3 2/7] memcg, slab: cleanup memcg cache creation

2014-02-22 Thread Vladimir Davydov
On 02/22/2014 04:11 AM, Andrew Morton wrote: On Thu, 20 Feb 2014 11:22:04 +0400 Vladimir Davydov vdavy...@parallels.com wrote: This patch cleanups the memcg cache creation path as follows: - Move memcg cache name creation to a separate function to be called from

Re: [PATCH -mm v3 2/7] memcg, slab: cleanup memcg cache creation

2014-02-21 Thread Andrew Morton
On Thu, 20 Feb 2014 11:22:04 +0400 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

Re: [PATCH -mm v3 2/7] memcg, slab: cleanup memcg cache creation

2014-02-21 Thread Andrew Morton
On Thu, 20 Feb 2014 11:22:04 +0400 Vladimir Davydov vdavy...@parallels.com 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

[PATCH -mm v3 2/7] memcg, slab: cleanup memcg cache creation

2014-02-19 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

[PATCH -mm v3 2/7] memcg, slab: cleanup memcg cache creation

2014-02-19 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