On 05/10/20 15:57, Peter Zijlstra wrote: > Thread a u32 flags word through the *set_cpus_allowed*() callchain. > This will allow adding behavioural tweaks for future users. > > Signed-off-by: Peter Zijlstra (Intel) <[email protected]> > --- [...] > @@ -1899,7 +1900,9 @@ extern void update_group_capacity(struct > > extern void trigger_load_balance(struct rq *rq); > > -extern void set_cpus_allowed_common(struct task_struct *p, const struct > cpumask *new_mask); > +#define SCA_CHECK 0x01 > +
That most likely needs to live outside of the #define CONFIG_SMP, so this should be hoisted up - you already do that in the next patch, this should be done here. > +extern void set_cpus_allowed_common(struct task_struct *p, const struct > cpumask *new_mask, u32 flags); > > #endif >

