[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170704161735.25czmbpjzk4vw27t@linutronix.de>
Date: Tue, 4 Jul 2017 18:17:35 +0200
From: Sebastian Andrzej Siewior <bigeasy@...utronix.de>
To: Bernhard Landauer <oberon@...jaro.org>
Cc: Thomas Gleixner <tglx@...utronix.de>,
LKML <linux-kernel@...r.kernel.org>,
linux-rt-users <linux-rt-users@...r.kernel.org>,
Steven Rostedt <rostedt@...dmis.org>
Subject: Re: [ANNOUNCE] v4.11.7-rt3
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
Powered by blists - more mailing lists