aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorHugh Dickins <[email protected]>2008-03-04 14:29:10 -0800
committerLinus Torvalds <[email protected]>2008-03-04 16:35:15 -0800
commitd5b69e38f8cdb1e41cc022305c86c9739bf1ffdb (patch)
treefdada47ea248d2b7064d5603eb9c68a1bdfb381d /scripts
parent8869b8f6e09a1b49bf915eb03f663f2e4e8fbcd4 (diff)
memcg: memcontrol uninlined and static
More cleanup to memcontrol.c, this time changing some of the code generated. Let the compiler decide what to inline (except for page_cgroup_locked which is only used when CONFIG_DEBUG_VM): the __always_inline on lock_page_cgroup etc. was quite a waste since bit_spin_lock etc. are inlines in a header file; made mem_cgroup_force_empty and mem_cgroup_write_strategy static. Signed-off-by: Hugh Dickins <[email protected]> Cc: David Rientjes <[email protected]> Cc: Balbir Singh <[email protected]> Acked-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Hirokazu Takahashi <[email protected]> Cc: YAMAMOTO Takashi <[email protected]> Cc: Paul Menage <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions