diff options
author | 2008-07-25 01:47:09 -0700 | |
---|---|---|
committer | 2008-07-25 10:53:37 -0700 | |
commit | 508b7be0a5b06b64203512ed9b34191cddc83f56 (patch) | |
tree | 48b1be978a74d7c2b333efe8a2d1a1187bfe67f0 /mm/filemap.c | |
parent | memcg: make global var read_mostly (diff) | |
download | linux-rng-508b7be0a5b06b64203512ed9b34191cddc83f56.tar.xz linux-rng-508b7be0a5b06b64203512ed9b34191cddc83f56.zip |
memcg: avoid unnecessary initialization
* remove over-killing initialization (in fast path)
* makeing the condition for PAGE_CGROUP_FLAG_ACTIVE be more obvious.
Signed-off-by: KAMEAZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Reviewed-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Balbir Singh <balbir@linux.vnet.ibm.com>
Acked-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/filemap.c')
0 files changed, 0 insertions, 0 deletions