Re: [PATCH 1/2] Futex minor fixes

From: Rusty Russell
Date: Thu Aug 28 2003 - 03:49:46 EST


In message <20030827065016.GA11214@xxxxxxxxxxxx> you write:
> Btw, what could that spurious wakeups be?

I don't know, but every other primitive in the kernel handles it, so
we should too.

> It set to loop unconditionally, so if the source of wakeup insists on
> wakeing up the code could result in endless loop, right?

Yes. If someone wakes you up, you will wake up. If someone wakes you
up an infinite number of times, you will wake up an infinite number of
times. cf. waitqueues.

Hope that clarifies,
Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/