Re: [RFC PATCH-tip v2 5/6] locking/rwsem: Change RWSEM_WAITING_BIAS for better disambiguation

2016-06-15 Thread Waiman Long
On 06/15/2016 01:45 PM, Peter Zijlstra wrote: On Tue, Jun 14, 2016 at 06:48:08PM -0400, Waiman Long wrote: +++ b/arch/alpha/include/asm/rwsem.h @@ -17,9 +17,9 @@ #define RWSEM_UNLOCKED_VALUE 0xL #define RWSEM_ACTIVE_BIAS 0x0001L #define

Re: [RFC PATCH-tip v2 5/6] locking/rwsem: Change RWSEM_WAITING_BIAS for better disambiguation

2016-06-15 Thread Waiman Long
On 06/15/2016 01:43 PM, Peter Zijlstra wrote: On Tue, Jun 14, 2016 at 06:48:08PM -0400, Waiman Long wrote: even the reduced maximum of about 16k (32-bit) or 1G (64-bit) should be more than enough for the foreseeable future. So what happens if I manage to create 16k+ threads on my 32bit kernel