[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] pre7-1 semicolon & nicely readableB



Hi Rik,

I want to inform you that there is a subtle difference between
the following two loops:

(i)

   while ((mm->swap_cnt << 2 * (i + 1) < max_cnt)
                   && i++ < 10);

(ii)

   while ((mm->swap_cnt << 2 * (i + 1) < max_cnt)
                   && i < 10)
           i++;

Cheers,
Roel.


--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/