linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Re: [PATCH] pre7-1 semicolon & nicely readableB
@ 2000-05-02  1:08 Roel van der Goot
  2000-05-02  1:28 ` Rik van Riel
  0 siblings, 1 reply; 5+ messages in thread
From: Roel van der Goot @ 2000-05-02  1:08 UTC (permalink / raw)
  To: riel; +Cc: linux-mm, linux-kernel

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2000-05-02 11:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-02  1:08 [PATCH] pre7-1 semicolon & nicely readableB Roel van der Goot
2000-05-02  1:28 ` Rik van Riel
2000-05-02  1:38   ` [PATCH] pre7-1 semicolon & nicely readable Roel van der Goot
2000-05-02 10:54   ` [PATCH] pre7-1 semicolon & nicely readableB Chris Evans
2000-05-02 11:19     ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox