diff options
author | Minchan Kim <minchan@kernel.org> | 2016-07-26 15:23:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-07-26 16:19:19 -0700 |
commit | b1123ea6d3b3da25af5c8a9d843bd07ab63213f4 (patch) | |
tree | a46ec204cbeb92fc168b92b870a1489081726388 /drivers/power | |
parent | bda807d4445414e8e77da704f116bb0880fe0c76 (diff) | |
download | linux-stable-b1123ea6d3b3da25af5c8a9d843bd07ab63213f4.tar.gz linux-stable-b1123ea6d3b3da25af5c8a9d843bd07ab63213f4.tar.bz2 linux-stable-b1123ea6d3b3da25af5c8a9d843bd07ab63213f4.zip |
mm: balloon: use general non-lru movable page feature
Now, VM has a feature to migrate non-lru movable pages so balloon
doesn't need custom migration hooks in migrate.c and compaction.c.
Instead, this patch implements the page->mapping->a_ops->
{isolate|migrate|putback} functions.
With that, we could remove hooks for ballooning in general migration
functions and make balloon compaction simple.
[akpm@linux-foundation.org: compaction.h requires that the includer first include node.h]
Link: http://lkml.kernel.org/r/1464736881-24886-4-git-send-email-minchan@kernel.org
Signed-off-by: Gioh Kim <gi-oh.kim@profitbricks.com>
Signed-off-by: Minchan Kim <minchan@kernel.org>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Rafael Aquini <aquini@redhat.com>
Cc: Konstantin Khlebnikov <koct9i@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions