On Mon, 2010-03-08 at 17:33 +0800, Huang Shijie wrote: > The prep_new_page() will call set_page_private(page, 0) to initiate > the page. > > So the code is redundant. > > Signed-off-by: Huang Shijie <shijie8@xxxxxxxxx> Reviewed-by: Minchan Kim <minchan.kim@xxxxxxxxx> Long time ago, nr_swapped named is meaningful as a comment at least. But as split page table lock is introduced in 4c21e2f2441, it was changed by just set_page_private. So even it's not meaningful any more as a comment, I think. So let's remove redundant code. -- Kind regards, Minchan Kim -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxxx For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>