Re: [PATCH 1/2] ipc/sem.c: Race in sem_lock()

From: Mike Galbraith
Date: Sun Sep 15 2013 - 02:09:34 EST


On Sat, 2013-09-14 at 23:34 +0200, Manfred Spraul wrote:

> The bug is probably also present in 3.10 and 3.11, but for these kernels
> is is probably simpler just to move the test of sma->complex_count after
> the spin_is_locked() test.

IMHO, your 6 patch series should go to stable as well. Scalability is
still BAD without them. Now, you've shown the lock split to be buggy.

Logically, the whole thing should be reverted entirely in stable, or
fixed up properly. Humongous improvements will find their way into
every long term stable kernel on the planet regardless, so..

Stable may as well do the Borg thing, resistance really is futile ;-)

-Mike

--
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/