lkml.org 
[lkml]   [2020]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH 5/5] locking/rwsem: Remove reader optimistic spinning
On Tue, Nov 17, 2020 at 10:04:29PM -0500, Waiman Long wrote:
> -static inline bool osq_is_empty(struct rw_semaphore *sem)
> -{
> - return !osq_is_locked(&sem->osq);

> -static inline bool osq_is_empty(sem)
> -{
> - return false;
> -}

Oh, it doesn't live...

\
 
 \ /
  Last update: 2020-11-20 15:44    [W:0.312 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site