Re: [PATCH 02/10] posix-timers: Remove dead process posix cpu timers caching

2013-12-04 Thread Frederic Weisbecker
On Wed, Dec 04, 2013 at 01:50:34PM -0500, KOSAKI Motohiro wrote: > > @@ -1090,13 +1063,8 @@ void posix_cpu_timer_schedule(struct k_itimer *timer) > > timer->it.cpu.expires = 0; > > goto out_unlock; > > } else if (unlikely(p->exit_state) &&

Re: [PATCH 02/10] posix-timers: Remove dead process posix cpu timers caching

2013-12-04 Thread KOSAKI Motohiro
> @@ -1090,13 +1063,8 @@ void posix_cpu_timer_schedule(struct k_itimer *timer) > timer->it.cpu.expires = 0; > goto out_unlock; > } else if (unlikely(p->exit_state) && thread_group_empty(p)) { > - /* > -

Re: [PATCH 02/10] posix-timers: Remove dead process posix cpu timers caching

2013-12-04 Thread KOSAKI Motohiro
@@ -1090,13 +1063,8 @@ void posix_cpu_timer_schedule(struct k_itimer *timer) timer-it.cpu.expires = 0; goto out_unlock; } else if (unlikely(p-exit_state) thread_group_empty(p)) { - /* - *

Re: [PATCH 02/10] posix-timers: Remove dead process posix cpu timers caching

2013-12-04 Thread Frederic Weisbecker
On Wed, Dec 04, 2013 at 01:50:34PM -0500, KOSAKI Motohiro wrote: @@ -1090,13 +1063,8 @@ void posix_cpu_timer_schedule(struct k_itimer *timer) timer-it.cpu.expires = 0; goto out_unlock; } else if (unlikely(p-exit_state)

[PATCH 02/10] posix-timers: Remove dead process posix cpu timers caching

2013-11-23 Thread Frederic Weisbecker
Now that we removed dead thread posix cpu timers caching, lets remove the dead process wide version. This caching is similar to the per thread version but it should be even more rare: * If the process id dead, we are not reading its timers status from a thread belonging to its group since they

[PATCH 02/10] posix-timers: Remove dead process posix cpu timers caching

2013-11-23 Thread Frederic Weisbecker
Now that we removed dead thread posix cpu timers caching, lets remove the dead process wide version. This caching is similar to the per thread version but it should be even more rare: * If the process id dead, we are not reading its timers status from a thread belonging to its group since they

[RFC PATCH 02/10] posix-timers: Remove dead process posix cpu timers caching

2013-10-12 Thread Frederic Weisbecker
Now that we removed dead thread posix cpu timers caching, lets remove the dead process wide version. This caching is similar to the per thread version but it should be even more rare: * If the process id dead, we are not reading its timers status from a thread belonging to its group. So this only

[RFC PATCH 02/10] posix-timers: Remove dead process posix cpu timers caching

2013-10-12 Thread Frederic Weisbecker
Now that we removed dead thread posix cpu timers caching, lets remove the dead process wide version. This caching is similar to the per thread version but it should be even more rare: * If the process id dead, we are not reading its timers status from a thread belonging to its group. So this only