Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-08-01 Thread Will Deacon
On Tue, Aug 01, 2017 at 11:30:11AM +0200, Robert Richter wrote: > Will, > > On 31.05.17 13:44:30, Will Deacon wrote: > > Thanks for posting this, but please try to cc the maintainers in future -- I > > almost missed it! > > > > On Tue, May 30, 2017 at 05:34:19PM -0700, Andrew Pinski wrote: > > >

Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-08-01 Thread Will Deacon
On Tue, Aug 01, 2017 at 11:30:11AM +0200, Robert Richter wrote: > Will, > > On 31.05.17 13:44:30, Will Deacon wrote: > > Thanks for posting this, but please try to cc the maintainers in future -- I > > almost missed it! > > > > On Tue, May 30, 2017 at 05:34:19PM -0700, Andrew Pinski wrote: > > >

Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-08-01 Thread Robert Richter
Will, On 31.05.17 13:44:30, Will Deacon wrote: > Thanks for posting this, but please try to cc the maintainers in future -- I > almost missed it! > > On Tue, May 30, 2017 at 05:34:19PM -0700, Andrew Pinski wrote: > > This allows the compiler to optimize the divide by 1000. > > And remove the

Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-08-01 Thread Robert Richter
Will, On 31.05.17 13:44:30, Will Deacon wrote: > Thanks for posting this, but please try to cc the maintainers in future -- I > almost missed it! > > On Tue, May 30, 2017 at 05:34:19PM -0700, Andrew Pinski wrote: > > This allows the compiler to optimize the divide by 1000. > > And remove the

Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-06-01 Thread Nathan Lynch
Will Deacon writes: > On Tue, May 30, 2017 at 05:34:19PM -0700, Andrew Pinski wrote: >> Note I noticed a bug in the old implementation of __kernel_clock_getres; >> it was checking only the lower 32bits of the pointer; this would work >> for most cases but could fail in a few.

Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-06-01 Thread Nathan Lynch
Will Deacon writes: > On Tue, May 30, 2017 at 05:34:19PM -0700, Andrew Pinski wrote: >> Note I noticed a bug in the old implementation of __kernel_clock_getres; >> it was checking only the lower 32bits of the pointer; this would work >> for most cases but could fail in a few. >> >> Changes from

RE: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-06-01 Thread Pinski, Andrew
.@cavium.com>; catalin.mari...@arm.com; > nathan_ly...@mentor.com; kevin.brod...@arm.com; dave.mar...@arm.com; > john.stu...@linaro.org; a...@arndb.de > Subject: Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C. > > Hi Andrew, > > Thanks for posting this, but please try t

RE: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-06-01 Thread Pinski, Andrew
entor.com; kevin.brod...@arm.com; dave.mar...@arm.com; > john.stu...@linaro.org; a...@arndb.de > Subject: Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C. > > Hi Andrew, > > Thanks for posting this, but please try to cc the maintainers in future -- > I almost missed it!

Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-05-31 Thread Yury Norov
On Wed, May 31, 2017 at 01:44:30PM +0100, Will Deacon wrote: > Hi Andrew, > > Thanks for posting this, but please try to cc the maintainers in future -- I > almost missed it! > > On Tue, May 30, 2017 at 05:34:19PM -0700, Andrew Pinski wrote: > > This allows the compiler to optimize the divide by

Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-05-31 Thread Yury Norov
On Wed, May 31, 2017 at 01:44:30PM +0100, Will Deacon wrote: > Hi Andrew, > > Thanks for posting this, but please try to cc the maintainers in future -- I > almost missed it! > > On Tue, May 30, 2017 at 05:34:19PM -0700, Andrew Pinski wrote: > > This allows the compiler to optimize the divide by

Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-05-31 Thread Will Deacon
Hi Andrew, Thanks for posting this, but please try to cc the maintainers in future -- I almost missed it! On Tue, May 30, 2017 at 05:34:19PM -0700, Andrew Pinski wrote: > This allows the compiler to optimize the divide by 1000. > And remove the other divide. > > On ThunderX, gettimeofday

Re: [PATCHv2 1/2] arm64:vdso: Rewrite gettimeofday into C.

2017-05-31 Thread Will Deacon
Hi Andrew, Thanks for posting this, but please try to cc the maintainers in future -- I almost missed it! On Tue, May 30, 2017 at 05:34:19PM -0700, Andrew Pinski wrote: > This allows the compiler to optimize the divide by 1000. > And remove the other divide. > > On ThunderX, gettimeofday