From: Andrew Morton Date: Fri, 28 Sep 2012 00:19:07 +0000 (+1000) Subject: mm-fix-nonuniform-page-status-when-writing-new-file-with-small-buffer-fix X-Git-Tag: next-20121004~1^2~356 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=420567dc8ecc7082714282a7c6639f030e7d4e0e;p=karo-tx-linux.git mm-fix-nonuniform-page-status-when-writing-new-file-with-small-buffer-fix tweak comment Cc: Johannes Weiner Cc: KOSAKI Motohiro Cc: Minchan Kim Cc: Robin Dong Cc: Wu Fengguang Signed-off-by: Andrew Morton --- diff --git a/mm/swap.c b/mm/swap.c index 692677cd0d95..7a555e227d61 100644 --- a/mm/swap.c +++ b/mm/swap.c @@ -447,9 +447,8 @@ void mark_page_accessed(struct page *page) EXPORT_SYMBOL(mark_page_accessed); /* - * Check pagevec space before adding new page into as - * it will prevent ununiform page status in - * mark_page_accessed() after __lru_cache_add() + * Check the pagevec space before adding a new page into it, to prevent + * nonuniform page status in mark_page_accessed() after __lru_cache_add(). */ void __lru_cache_add(struct page *page, enum lru_list lru) {