Re: [PATCH] memcg: make global var to be read_mostly

From: Pavel Emelyanov
Date: Mon May 12 2008 - 05:32:19 EST


Balbir Singh wrote:
> KAMEZAWA Hiroyuki wrote:
>> An easy cut out from memcg: performance improvement patch set.
>> Tested on: x86-64/linux-2.6.26-rc1-git6
>>
>> Thanks,
>> -Kame
>>
>> ==
>> mem_cgroup_subsys and page_cgroup_cache should be read_mostly and
>> MEM_CGROUP_RECLAIM_RETRIES can be just a fixed number.
>>
>> Changelog:
>> * makes MEM_CGROUP_RECLAIM_RETRIES to be a macro
>>
>> Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>
>>
>>
>
> Acked-by: Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>
>

Acked-by: Pavel Emelyanov <xemul@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/