lkml.org 
[lkml]   [2017]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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

\
 
 \ /
  Last update: 2017-07-04 18:18    [W:0.040 / U:0.532 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site