Messages in this thread |  | | Date | Thu, 28 Nov 2013 15:23:47 +0100 (CET) | From | Thomas Gleixner <> | Subject | Re: [RFC patch 0/5] futex: Allow lockless empty check of hashbucket plist in futex_wake() |
| |
On Thu, 28 Nov 2013, Peter Zijlstra wrote:
> On Wed, Nov 27, 2013 at 11:44:38PM -0800, Davidlohr Bueso wrote: > > How about both enlarging the table _and_ aligning the buckets? As you > > know, increasing the size of the table also benefits (particularly in > > larger systems) in having more spinlocks. So we reduce the amount of > > collisions and alleviate contention on the hb->lock. Btw, do you have > > any particular concerns about the larger hash table patch? > > My only concern was the amount of #ifdef. > > Wouldn't something like the below also work?
Definitely.
|  |