# Re: \[PATCH v11 08/16\] sched: Allow task CPU affinity to be restricted on asymmetric systems

- From: Will Deacon \<will@kernel.org\>
- Date: 2021-08-18 10:43:25 
- List: linux-arch
- Page: https://ratatoskr.run/linux-arch/2021/08/1481568
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/07/1463115/t.md

```text
On Tue, Aug 17, 2021 at 05:41:42PM +0200, Peter Zijlstra wrote:
> On Fri, Jul 30, 2021 at 12:24:35PM +0100, Will Deacon wrote:
> > +	struct rq_flags rf;
> > +	struct rq *rq;
> > +	int err;
> > +	struct cpumask *user_mask = NULL;
> 
> > +	cpumask_var_t new_mask;
> > +	const struct cpumask *override_mask = task_cpu_possible_mask(p);
> 
> > +	unsigned long flags;
> > +	struct cpumask *mask = p->user_cpus_ptr;
> 
> I've fixed all that up to be proper reverse x-mas trees; similar for
> other patches.

Thanks.

Will
```
