mm, compaction: cleanup unused functions
authorVlastimil Babka <vbabka@suse.cz>
Sat, 10 Sep 2016 10:34:04 +0000 (20:34 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Sat, 10 Sep 2016 10:34:04 +0000 (20:34 +1000)
commitc8909685a7315aefb5c6774dda2532afbd2b8b16
treeff5fc202173c52826b62f0135b01733d849db4bf
parent9219670be21e22d3b81b095833f60a920c5eda93
mm, compaction: cleanup unused functions

Since kswapd compaction moved to kcompactd, compact_pgdat() is not called
anymore, so we remove it.  The only caller of __compact_pgdat() is
compact_node(), so we merge them and remove code that was only reachable
from kswapd.

Link: http://lkml.kernel.org/r/20160810091226.6709-3-vbabka@suse.cz
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Michal Hocko <mhocko@suse.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
include/linux/compaction.h
mm/compaction.c
This page took 0.025455 seconds and 5 git commands to generate.