Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 264370
b: refs/heads/master
c: 486cf46
h: refs/heads/master
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Oct 20, 2011
1 parent 721c172 commit 5cea1d7
Show file tree
Hide file tree
Showing 2 changed files with 5 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: e4fcd69c9e4e273352e0f87cabd9648606da0c3e
refs/heads/master: 486cf46f3f9be5f2a966016c1a8fe01e32cde09e
8 changes: 4 additions & 4 deletions trunk/mm/migrate.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ static int remove_migration_pte(struct page *new, struct vm_area_struct *vma,

ptep = pte_offset_map(pmd, addr);

if (!is_swap_pte(*ptep)) {
pte_unmap(ptep);
goto out;
}
/*
* Peek to check is_swap_pte() before taking ptlock? No, we
* can race mremap's move_ptes(), which skips anon_vma lock.
*/

ptl = pte_lockptr(mm, pmd);
}
Expand Down

0 comments on commit 5cea1d7

Please sign in to comment.