Re: [PATCH] mm: fix page reclaim comment error

From: Rik van Riel
Date: Thu Jun 14 2012 - 13:52:46 EST


On 06/14/2012 08:41 AM, Wanpeng Li wrote:
From: Wanpeng Li<liwp@xxxxxxxxxxxxxxxxxx>

Since there are five lists in LRU cache, the array nr in get_scan_count
should be:

nr[0] = anon inactive pages to scan; nr[1] = anon active pages to scan
nr[2] = file inactive pages to scan; nr[3] = file active pages to scan

Signed-off-by: Wanpeng Li<liwp.linux@xxxxxxxxx>

Reviewed-by: Rik van Riel <riel@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/