[PATCH 1/2] posix-cpu-timers: fix acounting delta_exec twice

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro Currently glibc rt/tst-cpuclock2 test(*) sporadically fail. Because scheduler delta can be accounted twice from thread_group_cputimer() and account_group_exec_runtime(). Finally, clock_nanosleep() wakes up before an argument. And that is posix violation. This issue was

[PATCH 1/2] posix-cpu-timers: fix acounting delta_exec twice

2013-04-29 Thread kosaki . motohiro
From: KOSAKI Motohiro kosaki.motoh...@jp.fujitsu.com Currently glibc rt/tst-cpuclock2 test(*) sporadically fail. Because scheduler delta can be accounted twice from thread_group_cputimer() and account_group_exec_runtime(). Finally, clock_nanosleep() wakes up before an argument. And that is posix