[lkml]   [2002]   [Aug]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Bug in kernel code?

On 27 Aug 2002 at 17:29, David S. Miller wrote:

> From: "Stephen C. Biggs" <>
> Date: Tue, 27 Aug 2002 17:32:58 -0700
> This is a "do while" loop so the first test is always done
> No, a "do while" loop always executes the first iteration.
> What version of the C language do you think we are using?

You're misunderstanding me, I meant that the first test is done AFTER the first iteration is
executed, so my fix is correct since, even if order is 0 because at least one iteration of the loop
is done, and the post decrement makes sure that the test succeeds if order was 0 going into the

Changing order to a signed long loses half of the cache entries due to the number being divided by
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.057 / U:1.848 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site