Specifically, see
http://cvs-mirror.mozilla.org/webtools/lxr/source/js/src/jslock.c#540
for commentary on how the JS locks work. When we switched to a ``bacon
bit'' system, the no-contention path through lock-laden code got _much_
better, since it became a CAS operation rather than a kernel lock.
I don't know if a similar system would benefit in-kernel stuff, but it
sure works for us.
Mike
-- 39018.61 34343.69- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/