aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <[email protected]>2012-05-29 15:06:57 -0700
committerLinus Torvalds <[email protected]>2012-05-29 16:22:26 -0700
commit9e3b2f8cd340e13353a44c9a34caef2848131ed7 (patch)
treecda727e0e4f87992826075ea75c8519bf8e78034 /lib/mpi/mpi-add.c
parent3d58ab5c97fa2d145050242137ac39ca7d3bc2fc (diff)
mm/vmscan: store "priority" in struct scan_control
In memory reclaim some function have too many arguments - "priority" is one of them. It can be stored in struct scan_control - we construct them on the same level. Instead of an open coded loop we set the initial sc.priority, and do_try_to_free_pages() decreases it down to zero. Signed-off-by: Konstantin Khlebnikov <[email protected]> Cc: Mel Gorman <[email protected]> Cc: KAMEZAWA Hiroyuki <[email protected]> Acked-by: Hugh Dickins <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions