diff options
-rw-r--r-- | mm/memcontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c index d0e57a3cda18..5585dc3d3646 100644 --- a/mm/memcontrol.c +++ b/mm/memcontrol.c | |||
@@ -5075,7 +5075,7 @@ static struct page *mc_handle_present_pte(struct vm_area_struct *vma, | |||
5075 | return NULL; | 5075 | return NULL; |
5076 | if (PageAnon(page)) { | 5076 | if (PageAnon(page)) { |
5077 | /* we don't move shared anon */ | 5077 | /* we don't move shared anon */ |
5078 | if (!move_anon() || page_mapcount(page) > 2) | 5078 | if (!move_anon() || page_mapcount(page) > 1) |
5079 | return NULL; | 5079 | return NULL; |
5080 | } else if (!move_file()) | 5080 | } else if (!move_file()) |
5081 | /* we ignore mapcount for file pages */ | 5081 | /* we ignore mapcount for file pages */ |