posix-timers: Remove remaining uses of tasklist_lock
authorFrederic Weisbecker <fweisbec@gmail.com>
Fri, 11 Oct 2013 16:56:49 +0000 (18:56 +0200)
committerFrederic Weisbecker <fweisbec@gmail.com>
Mon, 9 Dec 2013 15:56:28 +0000 (16:56 +0100)
commite73d84e33f15c099ed1df60437700093cb14e46e
treed385948d7660e78b29a891e0427b872a3454d14e
parent3d7a1427e4ce545e949e9bccb75d0ca8d941d93c
posix-timers: Remove remaining uses of tasklist_lock

The remaining uses of tasklist_lock were mostly about synchronizing
against sighand modifications, getting coherent and safe group samples
and also thread/process wide timers list handling.

All of this is already safely synchronizable with the target's
sighand lock. Let's use it on these places instead.

Also update the comments about locking.

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Kosaki Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
kernel/posix-cpu-timers.c