diff --git a/[refs] b/[refs] index 625214661203..3b721064a26b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a7f4255f906f60f72e00aad2fb000939449ff32e +refs/heads/master: be22aece684f5a700e6247b9861c3759d5798a3c diff --git a/trunk/mm/memcontrol.c b/trunk/mm/memcontrol.c index 5585dc3d3646..d0e57a3cda18 100644 --- a/trunk/mm/memcontrol.c +++ b/trunk/mm/memcontrol.c @@ -5075,7 +5075,7 @@ static struct page *mc_handle_present_pte(struct vm_area_struct *vma, return NULL; if (PageAnon(page)) { /* we don't move shared anon */ - if (!move_anon() || page_mapcount(page) > 1) + if (!move_anon() || page_mapcount(page) > 2) return NULL; } else if (!move_file()) /* we ignore mapcount for file pages */