Re: [PATCH 3/8] posix-cpu-timers: fix wrong timer initialization

2013-06-19 Thread Frederic Weisbecker
On Tue, Jun 18, 2013 at 11:12:17AM -0400, KOSAKI Motohiro wrote: > On Tue, Jun 18, 2013 at 10:20 AM, Frederic Weisbecker > wrote: > > On Sun, May 26, 2013 at 05:35:44PM -0400, kosaki.motoh...@gmail.com wrote: > >> From: KOSAKI Motohiro > >> > >> Currently glibc's rt/tst-cputimer1 testcase sporadi

Re: [PATCH 3/8] posix-cpu-timers: fix wrong timer initialization

2013-06-18 Thread KOSAKI Motohiro
On Tue, Jun 18, 2013 at 10:20 AM, Frederic Weisbecker wrote: > On Sun, May 26, 2013 at 05:35:44PM -0400, kosaki.motoh...@gmail.com wrote: >> From: KOSAKI Motohiro >> >> Currently glibc's rt/tst-cputimer1 testcase sporadically fails because >> a timer created by timer_create() may fire earlier tha

Re: [PATCH 3/8] posix-cpu-timers: fix wrong timer initialization

2013-06-18 Thread Frederic Weisbecker
On Sun, May 26, 2013 at 05:35:44PM -0400, kosaki.motoh...@gmail.com wrote: > From: KOSAKI Motohiro > > Currently glibc's rt/tst-cputimer1 testcase sporadically fails because > a timer created by timer_create() may fire earlier than specified. > > posix_cpu_timer_set() uses "val" as current time

[PATCH 3/8] posix-cpu-timers: fix wrong timer initialization

2013-05-26 Thread kosaki . motohiro
From: KOSAKI Motohiro Currently glibc's rt/tst-cputimer1 testcase sporadically fails because a timer created by timer_create() may fire earlier than specified. posix_cpu_timer_set() uses "val" as current time for three purpose. 1) initialize sig->cputimer. 2) calculation "old" val. 3) calculatio