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 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html