From: Jens Axboe Date: Mon, 10 Apr 2006 07:01:01 +0000 (+0200) Subject: [PATCH] splice: mark the io page as accessed X-Git-Tag: upstream/snapshot3+hdmi~40889^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7f21e4f5a3d4e378e4d453b2be209dcfd1bb964;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git [PATCH] splice: mark the io page as accessed We should do that, since we do the LRU manipulation ourselves now. Suggested by Nick Piggin. Signed-off-by: Jens Axboe --- diff --git a/fs/splice.c b/fs/splice.c index bfa42a2..b450acd 100644 --- a/fs/splice.c +++ b/fs/splice.c @@ -501,6 +501,7 @@ find_page: } else if (ret) goto out; + mark_page_accessed(page); balance_dirty_pages_ratelimited(mapping); out: if (!(buf->flags & PIPE_BUF_FLAG_STOLEN)) {