[PATCH 07/10] posix-timers: Use sighand lock instead of tasklist_lock for task clock sample

2013-11-23 Thread Frederic Weisbecker
There is no need for the tasklist_lock just to take a process wide clock sample. All we need is to get a coherent sample that doesn't race with exit() and exec(): * exit() may be concurrently reaping a task and flushing its time * sighand is unstable under exit() and exec(), and the latter also

[PATCH 07/10] posix-timers: Use sighand lock instead of tasklist_lock for task clock sample

2013-11-23 Thread Frederic Weisbecker
There is no need for the tasklist_lock just to take a process wide clock sample. All we need is to get a coherent sample that doesn't race with exit() and exec(): * exit() may be concurrently reaping a task and flushing its time * sighand is unstable under exit() and exec(), and the latter also

[RFC PATCH 07/10] posix-timers: Use sighand lock instead of tasklist_lock for task clock sample

2013-10-12 Thread Frederic Weisbecker
There is no need for the tasklist_lock just to take a process wide clock sample. All we need is to get a coherent sample that doesn't race with exit() and exec(): * exit() may be concurrently reaping a task and flushing its time * sighand is unstable under exit() and exec(), and the latter also

[RFC PATCH 07/10] posix-timers: Use sighand lock instead of tasklist_lock for task clock sample

2013-10-12 Thread Frederic Weisbecker
There is no need for the tasklist_lock just to take a process wide clock sample. All we need is to get a coherent sample that doesn't race with exit() and exec(): * exit() may be concurrently reaping a task and flushing its time * sighand is unstable under exit() and exec(), and the latter also