Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 344773
b: refs/heads/master
c: cef23d9
h: refs/heads/master
i:
  344771: 161a036
v: v3
  • Loading branch information
Rik van Riel authored and Mel Gorman committed Dec 11, 2012
1 parent 3d65752 commit 14a3147
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: e4a1cc56e4d728eb87072c71c07581524e5160b1
refs/heads/master: cef23d9db6b76732d9b0933cb162358a6a1f43d7
6 changes: 3 additions & 3 deletions trunk/mm/pgtable-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

#ifndef __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS
/*
* Only sets the access flags (dirty, accessed, and
* writable). Furthermore, we know it always gets set to a "more
* Only sets the access flags (dirty, accessed), as well as write
* permission. Furthermore, we know it always gets set to a "more
* permissive" setting, which allows most architectures to optimize
* this. We return whether the PTE actually changed, which in turn
* instructs the caller to do things like update__mmu_cache. This
Expand All @@ -27,7 +27,7 @@ int ptep_set_access_flags(struct vm_area_struct *vma,
int changed = !pte_same(*ptep, entry);
if (changed) {
set_pte_at(vma->vm_mm, address, ptep, entry);
flush_tlb_page(vma, address);
flush_tlb_fix_spurious_fault(vma, address);
}
return changed;
}
Expand Down

0 comments on commit 14a3147

Please sign in to comment.