summaryrefslogtreecommitdiff
path: root/Documentation/usb/hotplug.txt
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2013-10-11 15:41:11 (GMT)
committerFrederic Weisbecker <fweisbec@gmail.com>2013-12-09 15:53:51 (GMT)
commit50875788a1d4a3f662a27ed13cd05282d835939a (patch)
tree254cb6e105b576170aac22c195289de7b1998749 /Documentation/usb/hotplug.txt
parent33ab0fec33527e8b5ab124cff6aefd4746508e04 (diff)
downloadlinux-50875788a1d4a3f662a27ed13cd05282d835939a.tar.xz
posix-timers: Use sighand lock instead of tasklist_lock for task clock sample
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 result in group leader that can change To protect against these, locking the target's sighand is enough. 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>
Diffstat (limited to 'Documentation/usb/hotplug.txt')
0 files changed, 0 insertions, 0 deletions