Messages in this thread | | | Date | Wed, 3 Apr 2019 15:12:28 +0200 | From | Peter Zijlstra <> | Subject | Re: [PATCH-tip v3 11/11] locking/rwsem: Optimize rwsem structure for uncontended lock acquisition |
| |
On Thu, Feb 28, 2019 at 02:09:41PM -0500, Waiman Long wrote: > For an uncontended rwsem, count and owner are the only fields a task > needs to touch when acquiring the rwsem. So they are put next to each > other to increase the chance that they will share the same cacheline.
Did you try and micro-bench this?
| |