projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sched/numa, mm: Revert to checking pmd/pte_write instead of VMA flags
[linux-2.6-microblaze.git]
/
mm
/
memory.c
diff --git
a/mm/memory.c
b/mm/memory.c
index
83be99d
..
558c852
100644
(file)
--- a/
mm/memory.c
+++ b/
mm/memory.c
@@
-3398,7
+3398,7
@@
static int do_numa_page(struct fault_env *fe, pte_t pte)
* pte_dirty has unpredictable behaviour between PTE scan updates,
* background writeback, dirty balancing and application behaviour.
*/
- if (!
(vma->vm_flags & VM_WRITE
))
+ if (!
pte_write(pte
))
flags |= TNF_NO_GROUP;
/*