[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.
Showing
Please register or sign in to comment