Commit:     4e99325b462ba18075768582621af74a6b79d2a5
Parent:     95511ad4342cd094e62c807f6631b9a19cc6b129
Author:     Peter Zijlstra <[EMAIL PROTECTED]>
AuthorDate: Sun Jul 8 01:13:06 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Sun Jul 8 10:13:21 2007 -0700

    mm: double mark_page_accessed() in read_cache_page_async()
    Fix a post-2.6.21 regression.
    read_cache_page_async() has two invocations of mark_page_accessed() which 
    launch pages right onto the active list.
    Remove the first one, keeping the latter one.  This avoids marking unwanted
    pages active (in the retry loop).
    Signed-off-by: Peter Zijlstra <[EMAIL PROTECTED]>
    Acked-by: Nick Piggin <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 mm/filemap.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/mm/filemap.c b/mm/filemap.c
index edb1b0b..d1d9814 100644
--- a/mm/filemap.c
+++ b/mm/filemap.c
@@ -1786,7 +1786,6 @@ retry:
        page = __read_cache_page(mapping, index, filler, data);
        if (IS_ERR(page))
                return page;
-       mark_page_accessed(page);
        if (PageUptodate(page))
                goto out;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to