Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176266
b: refs/heads/master
c: 7b51159
h: refs/heads/master
v: v3
  • Loading branch information
Huang Shijie authored and Linus Torvalds committed Dec 15, 2009
1 parent 436df9e commit dd69512
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 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: 8051be5e614f3e3feccbe9e06b50e0b889740a93
refs/heads/master: 7b51159405272157123ea8e0ef9b63c731dbfb48
5 changes: 1 addition & 4 deletions trunk/mm/rmap.c
Original file line number Diff line number Diff line change
Expand Up @@ -1103,13 +1103,10 @@ static int try_to_unmap_file(struct page *page, enum ttu_flags flags)
if (ret == SWAP_MLOCK) {
mlocked = try_to_mlock_page(page, vma);
if (mlocked)
break; /* stop if actually mlocked page */
goto out; /* stop if actually mlocked page */
}
}

if (mlocked)
goto out;

if (list_empty(&mapping->i_mmap_nonlinear))
goto out;

Expand Down

0 comments on commit dd69512

Please sign in to comment.