Messages in this thread |  | | | Date | Fri, 09 May 2008 11:28:49 +0530 | | From | Balbir Singh <> | | Subject | Re: [PATCH] memcg: make global var to be read_mostly | |
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@jp.fujitsu.com>
>
>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
--
Warm Regards,
Balbir Singh
Linux Technology Center
IBM, ISTL
|  |