Re: [PATCHv6 28/36] posix-clocks: Add align for timens_offsets

2019-08-15 Thread Thomas Gleixner
On Thu, 15 Aug 2019, Thomas Gleixner wrote: > So using struct timespec64 for the offset is wrong. You really need to open > code that offset storage if you don't want to end up with weird workarounds > for BE. > > Something like this: > > struct timens_offs { > time64_t tv_sec; >

Re: [PATCHv6 28/36] posix-clocks: Add align for timens_offsets

2019-08-15 Thread Thomas Gleixner
On Thu, 15 Aug 2019, Dmitry Safonov wrote: > Align offsets so that time namespace will work for ia32 applications on > x86_64 host. That's true for any 64 bit arch which supports 32bit user space and should be folded into the patch which introduces the offset store. > +/* > + * Time offsets need