Re: [PATCH] rcu: revert "Allow post-unlock reference for rt_mutex" to avoid priority-inversion

2014-11-18 Thread Paul E. McKenney
On Tue, Nov 18, 2014 at 04:30:01PM +0800, Lai Jiangshan wrote: > The patch dfeb9765ce3c ("Allow post-unlock reference for rt_mutex") > ensured rcu-boost safe even the rt_mutex has post-unlock reference. > > But rt_mutex allowing post-unlock reference is definitely a bug and it was > fixed by the c

[PATCH] rcu: revert "Allow post-unlock reference for rt_mutex" to avoid priority-inversion

2014-11-18 Thread Lai Jiangshan
The patch dfeb9765ce3c ("Allow post-unlock reference for rt_mutex") ensured rcu-boost safe even the rt_mutex has post-unlock reference. But rt_mutex allowing post-unlock reference is definitely a bug and it was fixed by the commit 27e35715df54 ("rtmutex: Plug slow unlock race"). This fix made the