Re: [ANNOUNCE] v4.11.7-rt3
From: Sebastian Andrzej Siewior
Date: Tue Jul 04 2017 - 12:18:46 EST
On 2017-06-29 11:56:59 [+0200], Bernhard Landauer wrote:
> > You should only need a read copy and ->cpus_ptr is for that.
> ntoskernel.h has this:
>
> #define tsk_cpus_allowed(tsk) (&(tsk)->cpus_allowed)
>
> so should it become:
>
> #define tsk_cpus_allowed(tsk) ((tsk)->cpus_ptr)
>
> ?
That is the obvious thing to do (and I hope it uses it read-only).
Sebastian