]> 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)
commit1c81622aa9c6c44312df62a03875f6c5a3831cf7
treee0e21ba464c2337c61f7ef9aab2c5f3705ca5fb5
parent7c69c862c8a640037d9f0795704b7193572f1d4f
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