• Frederic Weisbecker's avatar
    posix-timers: Remove remaining uses of tasklist_lock · e73d84e3
    Frederic Weisbecker authored
    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: default avatarFrederic 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>
    e73d84e3
posix-cpu-timers.c 38.1 KB