[PATCH v2 26/28] memcg: per-memcg kmem shrinking
kamezawa.hiroyu at jp.fujitsu.com
Mon Apr 1 09:35:47 UTC 2013
(2013/04/01 18:01), Kamezawa Hiroyuki wrote:
> (2013/04/01 17:48), Glauber Costa wrote:
>>>> +static int memcg_try_charge_kmem(struct mem_cgroup *memcg, gfp_t gfp, u64 size)
>>>> + int retries = MEM_CGROUP_RECLAIM_RETRIES;
>>> I'm not sure this retry numbers, for anon/file LRUs is suitable for kmem.
>> Suggestions ?
> I think you did tests.
I think you did tests and know what number is good by tests.
If it's the same number to MEM_CGROUP_RECLAIM_RETRIES, I have no objections.
I think no reason is bad.
More information about the Containers