Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 230742
b: refs/heads/master
c: ae52a2a
h: refs/heads/master
v: v3
  • Loading branch information
Hugh Dickins authored and Linus Torvalds committed Jan 14, 2011
1 parent ba44ef0 commit 318fb65
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 240c879f20a605346705be24253bc9fc6fa8a106
refs/heads/master: ae52a2adb5afa5ac5ec5fb5c7b24777f84b6c926
2 changes: 2 additions & 0 deletions trunk/mm/ksm.c
Original file line number Diff line number Diff line change
Expand Up @@ -800,6 +800,8 @@ static int replace_page(struct vm_area_struct *vma, struct page *page,
set_pte_at_notify(mm, addr, ptep, mk_pte(kpage, vma->vm_page_prot));

page_remove_rmap(page);
if (!page_mapped(page))
try_to_free_swap(page);
put_page(page);

pte_unmap_unlock(ptep, ptl);
Expand Down

0 comments on commit 318fb65

Please sign in to comment.