Re: [PATCH 2/5] powerpc: Fix vDSO clock_getres()

2019-04-02 Thread Vincenzo Frascino
On 02/04/2019 07:14, Christophe Leroy wrote: > > > On 04/01/2019 11:51 AM, Vincenzo Frascino wrote: >> clock_getres in the vDSO library has to preserve the same behaviour >> of posix_get_hrtimer_res(). >> >> In particular, posix_get_hrtimer_res() does: >> sec = 0; >> ns = hrtimer_resolu

Re: [PATCH 2/5] powerpc: Fix vDSO clock_getres()

2019-04-02 Thread Vincenzo Frascino
Hi Christophe, thank you for your review. On 02/04/2019 06:54, Christophe Leroy wrote: > > > On 04/01/2019 11:51 AM, Vincenzo Frascino wrote: >> clock_getres in the vDSO library has to preserve the same behaviour >> of posix_get_hrtimer_res(). >> >> In particular, posix_get_hrtimer_res() does:

Re: [PATCH 2/5] powerpc: Fix vDSO clock_getres()

2019-04-01 Thread Christophe Leroy
On 04/01/2019 11:51 AM, Vincenzo Frascino wrote: clock_getres in the vDSO library has to preserve the same behaviour of posix_get_hrtimer_res(). In particular, posix_get_hrtimer_res() does: sec = 0; ns = hrtimer_resolution; and hrtimer_resolution depends on the enablement of the hig

Re: [PATCH 2/5] powerpc: Fix vDSO clock_getres()

2019-04-01 Thread Christophe Leroy
On 04/01/2019 11:51 AM, Vincenzo Frascino wrote: clock_getres in the vDSO library has to preserve the same behaviour of posix_get_hrtimer_res(). In particular, posix_get_hrtimer_res() does: sec = 0; ns = hrtimer_resolution; and hrtimer_resolution depends on the enablement of the hig

[PATCH 2/5] powerpc: Fix vDSO clock_getres()

2019-04-01 Thread Vincenzo Frascino
clock_getres in the vDSO library has to preserve the same behaviour of posix_get_hrtimer_res(). In particular, posix_get_hrtimer_res() does: sec = 0; ns = hrtimer_resolution; and hrtimer_resolution depends on the enablement of the high resolution timers that can happen either at compile or