[PATCH 08/10] posix-timers: Use sighand lock instead of tasklist_lock on timer deletion

2013-11-23 Thread Frederic Weisbecker
Timer deletion doesn't need the tasklist lock. We need to protect against: * concurrent access to the lists p->cputime_expires and p->sighand->cputime_expires * task reaping that may also delete the timer list entry * timer firing We already hold the timer lock which protects us against concu

[RFC PATCH 08/10] posix-timers: Use sighand lock instead of tasklist_lock on timer deletion

2013-10-12 Thread Frederic Weisbecker
Timer deletion doesn't need the tasklist lock. We need to protect against: * concurrent access to the lists p->cputime_expires and p->sighand->cputime_expires * task reaping that may also delete the timer list entry * timer firing We already hold the timer lock which protects us against concu