diff options
author | Andrew Morton <akpm@linux-foundation.org> | 2015-11-06 19:28:58 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-06 20:50:42 -0500 |
commit | 6f6461562e8805784538fa469e9a538cd2b3d553 (patch) | |
tree | ace6793024d49059e047866835fbe61c9cb3d55b /mm | |
parent | 23d0127096cb91cb6d354bdc71bd88a7bae3a1d5 (diff) |
mm/memcontrol.c: uninline mem_cgroup_usage
gcc version 5.2.1 20151010 (Debian 5.2.1-22)
$ size mm/memcontrol.o mm/memcontrol.o.before
text data bss dec hex filename
35535 7908 64 43507 a9f3 mm/memcontrol.o
35762 7908 64 43734 aad6 mm/memcontrol.o.before
Cc: Michal Hocko <mhocko@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm')
-rw-r--r-- | mm/memcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index a5470674a477..9acfb165eb52 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -2801,7 +2801,7 @@ static unsigned long tree_stat(struct mem_cgroup *memcg, | |||
2801 | return val; | 2801 | return val; |
2802 | } | 2802 | } |
2803 | 2803 | ||
2804 | static inline unsigned long mem_cgroup_usage(struct mem_cgroup *memcg, bool swap) | 2804 | static unsigned long mem_cgroup_usage(struct mem_cgroup *memcg, bool swap) |
2805 | { | 2805 | { |
2806 | unsigned long val; | 2806 | unsigned long val; |
2807 | 2807 | ||