Re: [PATCH 06/11] memcg: kmem controller infrastructure
From: Glauber Costa <hidden>
Date: 2012-06-26 15:04:01
Also in:
linux-mm, lkml
From: Glauber Costa <hidden>
Date: 2012-06-26 15:04:01
Also in:
linux-mm, lkml
On 06/26/2012 03:17 AM, Andrew Morton wrote:
quoted
+ memcg_uncharge_kmem(memcg, size);quoted
+ mem_cgroup_put(memcg); +} +EXPORT_SYMBOL(__mem_cgroup_free_kmem_page); #endif /* CONFIG_CGROUP_MEM_RES_CTLR_KMEM */ #if defined(CONFIG_INET) && defined(CONFIG_CGROUP_MEM_RES_CTLR_KMEM)@@ -5645,3 +5751,69 @@ static int __init enable_swap_account(char *s) __setup("swapaccount=", enable_swap_account); #endif + +#ifdef CONFIG_CGROUP_MEM_RES_CTLR_KMEMgargh. CONFIG_MEMCG_KMEM, please!
Here too. I like it as much as you do. But that is consistent with the rest of the file, and I'd rather have it this way.