On Fri, Mar 23, 2012 at 01:56:27AM +0400, Konstantin Khlebnikov wrote: > Let's toss lru index through call stack to isolate_lru_pages(), > this is better than its reconstructing from individual bits. > > Signed-off-by: Konstantin Khlebnikov <khlebnikov@xxxxxxxxxx> > Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> > Acked-by: Hugh Dickins <hughd@xxxxxxxxxx> > --- > mm/vmscan.c | 41 +++++++++++++++++------------------------ > 1 files changed, 17 insertions(+), 24 deletions(-) > > diff --git a/mm/vmscan.c b/mm/vmscan.c > index f4dca0c..fb6d54e 100644 > --- a/mm/vmscan.c > +++ b/mm/vmscan.c > @@ -1127,15 +1127,14 @@ int __isolate_lru_page(struct page *page, isolate_mode_t mode, int file) > * @nr_scanned: The number of pages that were scanned. > * @sc: The scan_control struct for this reclaim session > * @mode: One of the LRU isolation modes > - * @active: True [1] if isolating active pages > - * @file: True [1] if isolating file [!anon] pages > + * @lru LRU list id for isolating Missing colon. Otherwise, nice cleanup! Reviewed-by: Minchan Kim <minchan@xxxxxxxxxx> -- Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>