diff options
author | Wanpeng Li <[email protected]> | 2012-06-14 20:41:02 +0800 |
---|---|---|
committer | Jiri Kosina <[email protected]> | 2012-06-28 11:54:12 +0200 |
commit | be7bd59db71dfb6dc011c9880fec5a659430003a (patch) | |
tree | 04d73bb9befe49d82c3d07e955b93a0186056364 /net/core/utils.c | |
parent | 422aa274203469771460411ffb2f70c241770b80 (diff) |
mm: fix page reclaim comment error
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 <[email protected]>
Reviewed-by: Rik van Riel <[email protected]>
Acked-by: Minchan Kim <[email protected]>
Acked-by: KAMEZAWA Hiroyuki <[email protected]>
Acked-by: KOSAKI Motohiro <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
Diffstat (limited to 'net/core/utils.c')
0 files changed, 0 insertions, 0 deletions