Messages in this thread | | | Date | Tue, 22 Sep 2015 08:55:42 -0700 | From | Davidlohr Bueso <> | Subject | Re: [PATCH 3/5] locking/rtmutex: Use acquire/release semantics |
| |
On Tue, 22 Sep 2015, Thomas Gleixner wrote:
>> @@ -121,11 +130,14 @@ static inline bool unlock_rt_mutex_safe(struct rt_mutex *lock) >> * lock(wait_lock); >> * acquire(lock); >> */ >> - return rt_mutex_cmpxchg(lock, owner, NULL); >> + return rt_mutex_cmpxchg_acquire(lock, owner, NULL); > >Why is this acquire?
Because I am an idiot, that should be a release...
Thanks, Davidlohr
| |