Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 332447
b: refs/heads/master
c: eab1eef
h: refs/heads/master
i:
  332445: 26cc758
  332443: 3929fc1
  332439: 2625201
  332431: 53d2244
  332415: b8a675a
v: v3
  • Loading branch information
Catalin Marinas authored and Linus Torvalds committed Oct 9, 2012
1 parent ec27b86 commit b87d127
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 2d28a2275c21d04290cfba1555c89a806d2b7706
refs/heads/master: eab1eef9911c36966b5d5934e6970581b3316013
6 changes: 3 additions & 3 deletions trunk/mm/huge_memory.c
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ int do_huge_pmd_wp_page(struct mm_struct *mm, struct vm_area_struct *vma,
entry = pmd_mkyoung(orig_pmd);
entry = maybe_pmd_mkwrite(pmd_mkdirty(entry), vma);
if (pmdp_set_access_flags(vma, haddr, pmd, entry, 1))
update_mmu_cache(vma, address, entry);
update_mmu_cache(vma, address, pmd);
ret |= VM_FAULT_WRITE;
goto out_unlock;
}
Expand Down Expand Up @@ -941,7 +941,7 @@ int do_huge_pmd_wp_page(struct mm_struct *mm, struct vm_area_struct *vma,
pmdp_clear_flush_notify(vma, haddr, pmd);
page_add_new_anon_rmap(new_page, vma, haddr);
set_pmd_at(mm, haddr, pmd, entry);
update_mmu_cache(vma, address, entry);
update_mmu_cache(vma, address, pmd);
page_remove_rmap(page);
put_page(page);
ret |= VM_FAULT_WRITE;
Expand Down Expand Up @@ -2002,7 +2002,7 @@ static void collapse_huge_page(struct mm_struct *mm,
BUG_ON(!pmd_none(*pmd));
page_add_new_anon_rmap(new_page, vma, address);
set_pmd_at(mm, address, pmd, _pmd);
update_mmu_cache(vma, address, _pmd);
update_mmu_cache(vma, address, pmd);
pgtable_trans_huge_deposit(mm, pgtable);
spin_unlock(&mm->page_table_lock);

Expand Down

0 comments on commit b87d127

Please sign in to comment.