Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 308842
b: refs/heads/master
c: 6f60b69
h: refs/heads/master
v: v3
  • Loading branch information
David Rientjes authored and Linus Torvalds committed May 29, 2012
1 parent 1d40567 commit 4fa628a
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: 096a7cf44712ab531101bb4689f75f7fcd9b9f18
refs/heads/master: 6f60b69d8cabbf7c0daf879cae4d09ac0776f4b4
2 changes: 2 additions & 0 deletions trunk/mm/huge_memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -973,8 +973,10 @@ int do_huge_pmd_wp_page(struct mm_struct *mm, struct vm_area_struct *vma,
spin_lock(&mm->page_table_lock);
put_page(page);
if (unlikely(!pmd_same(*pmd, orig_pmd))) {
spin_unlock(&mm->page_table_lock);
mem_cgroup_uncharge_page(new_page);
put_page(new_page);
goto out;
} else {
pmd_t entry;
VM_BUG_ON(!PageHead(page));
Expand Down

0 comments on commit 4fa628a

Please sign in to comment.