diff options
Diffstat (limited to 'mm/memory.c')
-rw-r--r-- | mm/memory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory.c b/mm/memory.c index 793fe0f9841c..f1a68049edff 100644 --- a/mm/memory.c +++ b/mm/memory.c | |||
@@ -3395,7 +3395,7 @@ static int do_numa_page(struct fault_env *fe, pte_t pte) | |||
3395 | * pte_dirty has unpredictable behaviour between PTE scan updates, | 3395 | * pte_dirty has unpredictable behaviour between PTE scan updates, |
3396 | * background writeback, dirty balancing and application behaviour. | 3396 | * background writeback, dirty balancing and application behaviour. |
3397 | */ | 3397 | */ |
3398 | if (!(vma->vm_flags & VM_WRITE)) | 3398 | if (!pte_write(pte)) |
3399 | flags |= TNF_NO_GROUP; | 3399 | flags |= TNF_NO_GROUP; |
3400 | 3400 | ||
3401 | /* | 3401 | /* |