]> git.hungrycats.org Git - linux/commit
[PATCH] Futex lock division
authorRusty Russell <rusty@rustcorp.com.au>
Wed, 24 Sep 2003 13:41:18 +0000 (06:41 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Wed, 24 Sep 2003 13:41:18 +0000 (06:41 -0700)
commitb58da0d02df9eee7a000162ccad1f64f7651b0c5
tree8f2c09317b66d6cceacfc0ffe4512d49d36101fc
parent176c145129e137fdcbd1fd3fcdb2455b34d071fc
[PATCH] Futex lock division

From: "Hu, Boris" <boris.hu@intel.com>

Andrew reminded me of this.

Simple change to split the futex lock into a per-hashchain lock.
Don't bother cacheline aligning: Jamie points out that increasing
FUTEX_HASHBITS would have more payoff.

Ulrich Drepper reports 6% improvement in on a 4way futex-thrashing
benchmark.
kernel/futex.c