]> git.baikalelectronics.ru Git - kernel.git/commit
mm: memcontrol: consolidate swap controller code
authorJohannes Weiner <hannes@cmpxchg.org>
Wed, 11 Feb 2015 23:26:36 +0000 (15:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 12 Feb 2015 01:06:03 +0000 (17:06 -0800)
commit5aac7d521e9e5a22ad41ff6ac544d662feec46d3
treee0e21ba464c2337c61f7ef9aab2c5f3705ca5fb5
parenta9a372ab687feba718cf33c10e032e2d5896d80a
mm: memcontrol: consolidate swap controller code

The swap controller code is scattered all over the file.  Gather all
the code that isn't directly needed by the memory controller at the
end of the file in its own CONFIG_MEMCG_SWAP section.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Michal Hocko <mhocko@suse.cz>
Reviewed-by: Vladimir Davydov <vdavydov@parallels.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/memcontrol.c