Re: [PATCH-tip v3 00/14] locking/rwsem: Rwsem rearchitecture part 2

2019-04-11 Thread Waiman Long
On 04/11/2019 04:37 AM, Peter Zijlstra wrote: > > After applying: > > 1,2,5,3 > > Do we want to do something like the below? > > There is absolutely no reason anymore we need spread the implementation > over 3 files: rwsem.h rwsem.c rwsem-xadd.c. And I went insane chasing > things around. > > Note

Re: [PATCH-tip v3 00/14] locking/rwsem: Rwsem rearchitecture part 2

2019-04-11 Thread Peter Zijlstra
After applying: 1,2,5,3 Do we want to do something like the below? There is absolutely no reason anymore we need spread the implementation over 3 files: rwsem.h rwsem.c rwsem-xadd.c. And I went insane chasing things around. Note the below also includes a number of cleanups, there were still

[PATCH-tip v3 00/14] locking/rwsem: Rwsem rearchitecture part 2

2019-04-10 Thread Waiman Long
v3: - Add 2 more patches in front to fix build and testing issues found. Patch 1 can actually be merged on top of the patch "locking/rwsem: Enhance DEBUG_RWSEMS_WARN_ON() macro" in part 1. - Change the handoff patch (now patch 4) to set handoff bit immediately after wakeup for RT w