Re: [PATCH] sched/deadline/rtmutex: Fix a PI crash for deadline tasks

From: Peter Zijlstra
Date: Tue Apr 05 2016 - 07:32:40 EST


On Tue, Apr 05, 2016 at 06:48:38PM +0800, Xunlei Pang wrote:
> This is cool, I think we should also init "pi_task" properly for INIT_MUTEX and fork,
> otherwise looks good to me :-)

Indeed..

> Besides, do you think we can kill "pi_waiters_leftmost" from task_struct, as we
> can easily get it from "pi_waiters"?

I don't quickly see a way to do that, different locking rules govern the
two.. which was the whole problem we started with :/

> I will test it further with these new changes soon.

Thanks!