Re: Question about sched_setaffinity()

From: Paul E. McKenney
Date: Mon May 13 2019 - 08:21:11 EST


On Mon, May 13, 2019 at 10:10:52AM +0200, Peter Zijlstra wrote:
> On Fri, May 10, 2019 at 04:07:42PM -0700, Paul E. McKenney wrote:
> > > The below trace explain the issue. Some Paul person did it, see below.
> > > It's broken per construction :-)
> >
> > *facepalm* Hence the very strange ->cpus_allowed mask. I really
> > should have figured that one out.
>
> I guess it's called a torture framework for a reason ;-)

Fair enough. And I doubt that this is the firs time that it has
tortured other people rather than torturing RCU. ;-)

Thanx, Paul