On Sat, 2015-03-07 at 13:17 -0500, Sasha Levin wrote:
> On 03/07/2015 02:45 AM, Jason Low wrote:
> > Fixes tip commit b3fd4f03ca0b (locking/rwsem: Avoid deceiving lock
> > spinners).
> >
> > Ming reported soft lockups occurring when running xfstest due to
> > commit b3fd4f03ca0b.
> >
> > When do
On Sat, 2015-03-07 at 10:21 +0100, Peter Zijlstra wrote:
> On Fri, Mar 06, 2015 at 11:45:31PM -0800, Jason Low wrote:
> > static noinline
> > bool rwsem_spin_on_owner(struct rw_semaphore *sem, struct task_struct
> > *owner)
> > {
> > long count;
> >
> > rcu_read_lock();
> > + while
On 03/07/2015 02:45 AM, Jason Low wrote:
> Fixes tip commit b3fd4f03ca0b (locking/rwsem: Avoid deceiving lock spinners).
>
> Ming reported soft lockups occurring when running xfstest due to
> commit b3fd4f03ca0b.
>
> When doing optimistic spinning in rwsem, threads should stop spinning when
> the
On Fri, Mar 06, 2015 at 11:45:31PM -0800, Jason Low wrote:
> static noinline
> bool rwsem_spin_on_owner(struct rw_semaphore *sem, struct task_struct *owner)
> {
> long count;
>
> rcu_read_lock();
> + while (sem->owner == owner) {
> + /*
> + * Ensure we
Fixes tip commit b3fd4f03ca0b (locking/rwsem: Avoid deceiving lock spinners).
Ming reported soft lockups occurring when running xfstest due to
commit b3fd4f03ca0b.
When doing optimistic spinning in rwsem, threads should stop spinning when
the lock owner is not running. While a thread is spinning
5 matches
Mail list logo