On Mon, Feb 06, 2017 at 02:29:21PM +0100, Ingo Molnar wrote:
> So the original intention of tsk_cpus_allowed() was to 'future-proof'
> the field - but it's pretty ineffectual at that, because half of
> the code uses ->cpus_allowed directly ...
> 
> Also, the wrapper makes the code longer than the original expression!
> 
> So just get rid of it. This also shrinks <linux/sched.h> a bit.

Please keep this and the tsk_nr_cpus_allowed() thing. RT uses them.

Reply via email to