It serializes accept() to avoid the thundering herd from the wake-allsemantics.

With the 2.4 stack that is probably not needed anymore (it was in 2.2), it may just work to remove the file locking (it should always be correct,just on 2.2 it may be slower to remove it)

> Because if so, the file locking code will be significantly> bad for the scalability of Apache on SMP (of all things!).> It basically grabs a big global lock for _anything_. It> looks like it could be a lot more granular.

iirc everybody who looked at the code agrees that it needs a rewritebadly.

-Andi

-To unsubscribe from this list: send the line "unsubscribe linux-kernel" inthe body of a message to majordomo@vger.kernel.orgPlease read the FAQ at http://www.tux.org/lkml/