diff options
author | Johannes Weiner <hannes@cmpxchg.org> | 2014-12-10 18:44:55 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 20:41:09 -0500 |
commit | 5d1ea48bdde67898e87d6d8f511fd097fa64c749 (patch) | |
tree | 2936b8ed4b948ffdf655fd7b8fa71d68069f8bc4 /mm/swapfile.c | |
parent | 1306a85aed3ec3db98945aafb7dfbe5648a1203c (diff) |
mm: page_cgroup: rename file to mm/swap_cgroup.c
Now that the external page_cgroup data structure and its lookup is gone,
the only code remaining in there is swap slot accounting.
Rename it and move the conditional compilation into mm/Makefile.
Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Acked-by: Michal Hocko <mhocko@suse.cz>
Acked-by: Vladimir Davydov <vdavydov@parallels.com>
Acked-by: David S. Miller <davem@davemloft.net>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: "Kirill A. Shutemov" <kirill@shutemov.name>
Cc: Tejun Heo <tj@kernel.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swapfile.c')
-rw-r--r-- | mm/swapfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swapfile.c b/mm/swapfile.c index 8798b2e0ac59..63f55ccb9b26 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c | |||
@@ -38,7 +38,7 @@ | |||
38 | #include <asm/pgtable.h> | 38 | #include <asm/pgtable.h> |
39 | #include <asm/tlbflush.h> | 39 | #include <asm/tlbflush.h> |
40 | #include <linux/swapops.h> | 40 | #include <linux/swapops.h> |
41 | #include <linux/page_cgroup.h> | 41 | #include <linux/swap_cgroup.h> |
42 | 42 | ||
43 | static bool swap_count_continued(struct swap_info_struct *, pgoff_t, | 43 | static bool swap_count_continued(struct swap_info_struct *, pgoff_t, |
44 | unsigned char); | 44 | unsigned char); |