Re: [patch 27/44] posix-cpu-timers: Provide array based access to expiry cache

2019-08-20 Thread Thomas Gleixner
On Mon, 19 Aug 2019, Ingo Molnar wrote: > * Thomas Gleixner wrote: > > struct posix_cputimers { > > - struct task_cputime cputime_expires; > > - struct list_headcpu_timers[CPUCLOCK_MAX]; > > + /* Temporary union until all users are cleaned up */ > > + union { > > +

Re: [patch 27/44] posix-cpu-timers: Provide array based access to expiry cache

2019-08-19 Thread Ingo Molnar
* Thomas Gleixner wrote: > Using struct task_cputime for the expiry cache is a pretty odd choice and > comes with magic defines to rename the fields for usage in the expiry > cache. > > struct task_cputime is basically a u64 array with 3 members, but it has > distinct members. > > The expiry

[patch 27/44] posix-cpu-timers: Provide array based access to expiry cache

2019-08-19 Thread Thomas Gleixner
Using struct task_cputime for the expiry cache is a pretty odd choice and comes with magic defines to rename the fields for usage in the expiry cache. struct task_cputime is basically a u64 array with 3 members, but it has distinct members. The expiry cache content is different than the content