From: Hugh Dickins <hugh@veritas.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Nick Piggin <npiggin@suse.de>,
Johannes Weiner <hannes@saeurebad.de>,
linux-mm@kvack.org
Subject: [PATCH mmotm] mm: don't mark_page_accessed in shmem_fault
Date: Fri, 14 Nov 2008 19:49:42 +0000 (GMT) [thread overview]
Message-ID: <Pine.LNX.4.64.0811141944540.12769@blonde.site> (raw)
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>
reply other threads:[~2008-11-14 19:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0811141944540.12769@blonde.site \
--to=hugh@veritas.com \
--cc=akpm@linux-foundation.org \
--cc=hannes@saeurebad.de \
--cc=linux-mm@kvack.org \
--cc=npiggin@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox