Re: [PATCH REPOST v3.9-rc1] sched: replace PF_THREAD_BOUND withPF_NO_SETAFFINITY

From: Tejun Heo
Date: Tue Mar 19 2013 - 16:48:15 EST


On Mon, Mar 18, 2013 at 09:47:15AM -0700, Tejun Heo wrote:
> Hello,
>
> On Mon, Mar 18, 2013 at 10:41:40AM +0100, Ingo Molnar wrote:
> > > This patch replaces PF_THREAD_BOUND with PF_NO_SETAFFINITY.
> > > sched_setaffinity() checks the flag and return -EINVAL if set.
> > > set_cpus_allowed_ptr() is no longer affected by the flag.
> > >
> > > This will allow simplifying workqueue worker CPU affinity management.
> >
> > Acked-by: Ingo Molnar <mingo@xxxxxxxxxx>
> >
> > I suspect you want to carry this in the workqueue tree, to enable those
> > extra simplifications?
>
> Yeah, I was planning to pull from one of the -tip branches but if I
> can carry it through the workqueue tree it would be simpler. Would
> that be okay?

Applying to wq/for-3.10 w/ the rebinding cleanup. Holler if this
should be routed differently.

Thanks!

--
tejun
--
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/