Commit 390722baa7fc447b0a4f0c3c3f537ed056dbc944

Authored by Hugh Dickins
Committed by Linus Torvalds
1 parent bf3f3bc5e7

mm: don't mark_page_accessed in shmem_fault

Following "mm: don't mark_page_accessed in fault path", which now
places a mark_page_accessed() in zap_pte_range(), we should remove
the mark_page_accessed() from shmem_fault().

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: Nick Piggin <npiggin@suse.de>
Cc: Johannes Weiner <hannes@saeurebad.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Showing 1 changed file with 0 additions and 1 deletions Side-by-side Diff

... ... @@ -1444,7 +1444,6 @@
1444 1444 if (error)
1445 1445 return ((error == -ENOMEM) ? VM_FAULT_OOM : VM_FAULT_SIGBUS);
1446 1446  
1447   - mark_page_accessed(vmf->page);
1448 1447 return ret | VM_FAULT_LOCKED;
1449 1448 }
1450 1449