Re: [PATCH 1/2] signal: simplify deadlock-avoidance in lock_task_sighand()
From: Peter Zijlstra
Date: Tue Sep 23 2014 - 10:20:45 EST
On Tue, Sep 23, 2014 at 07:45:22AM -0400, Rik van Riel wrote:
> > I really thing the preempt_disable/enable is not needed.
> > Paul, Thomas, care to comment?
> I suspect you are right. On normal kernels, rcu_read_lock() will
> ensure preemption is disabled.
> On -rt, the locks within are all sleepable mutexes.
> Either way, things should be ok.
But with CONFIG_PREEMPT we get preemptible RCU but not the
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/