Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288249
b: refs/heads/master
c: e6ca7b8
h: refs/heads/master
i:
  288247: db76723
v: v3
  • Loading branch information
Naoya Horiguchi authored and Linus Torvalds committed Mar 5, 2012
1 parent b235dcc commit 943c3bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1c641e84719429bbfe62a95ed3545ee7fe24408f
refs/heads/master: e6ca7b89dc76abf77c80887fed54e0a60c87c0a8
2 changes: 1 addition & 1 deletion trunk/mm/memcontrol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) > 2)
if (!move_anon() || page_mapcount(page) > 1)
return NULL;
} else if (!move_file())
/* we ignore mapcount for file pages */
Expand Down

0 comments on commit 943c3bc

Please sign in to comment.