On Mon, 23 Sep 2013 16:21:49 +0800 Weijie Yang <weijie.yang@xxxxxxxxxxx> wrote: > add SetPageReclaim before __swap_writepage so that page can be moved to the > tail of the inactive list, which can avoid unnecessary page scanning as this > page was reclaimed by swap subsystem before. > > Signed-off-by: Weijie Yang <weijie.yang@xxxxxxxxxxx> > Reviewed-by: Bob Liu <bob.liu@xxxxxxxxxx> > Cc: Minchan Kim <minchan@xxxxxxxxxx> > Cc: stable@xxxxxxxxxxxxxxx > Acked-by: Seth Jennings <sjenning@xxxxxxxxxxxxxxxxxx> As a minor(?) performance tweak, I don't believe this is suitable for -stable backporting, so I took that out. If you believe this was a mistake, please explain why. -- To unsubscribe from this list: send the line "unsubscribe stable" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html