* [PATCH mmotm] mm: don't mark_page_accessed in shmem_fault
@ 2008-11-14 19:49 Hugh Dickins
0 siblings, 0 replies; only message in thread
From: Hugh Dickins @ 2008-11-14 19:49 UTC (permalink / raw)
To: Andrew Morton; +Cc: Nick Piggin, Johannes Weiner, linux-mm
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>
---
You guessed it, follows mm-dont-mark_page_accessed-in-fault-path.patch
mm/shmem.c | 1 -
1 file changed, 1 deletion(-)
--- 2.6.28-rc4/mm/shmem.c 2008-11-02 23:17:56.000000000 +0000
+++ linux/mm/shmem.c 2008-11-14 19:06:54.000000000 +0000
@@ -1444,7 +1444,6 @@ static int shmem_fault(struct vm_area_st
if (error)
return ((error == -ENOMEM) ? VM_FAULT_OOM : VM_FAULT_SIGBUS);
- mark_page_accessed(vmf->page);
return ret | VM_FAULT_LOCKED;
}
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-11-14 19:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-14 19:49 [PATCH mmotm] mm: don't mark_page_accessed in shmem_fault Hugh Dickins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox