On Thu, 17 Jun 2010, KOSAKI Motohiro wrote: > > Now has_intersects_mems_allowed() has own thread iterate logic, but > it should use while_each_thread(). > > It slightly improve the code readability. > > Reviewed-by: Minchan Kim <minchan.kim@xxxxxxxxx> > Signed-off-by: KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx> I disagree that the renaming of the variables is necessary, please simply change the while (tsk != start) to use while_each_thread(tsk, start); -- 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>