aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2013-04-17 15:58:23 -0700
committerLinus Torvalds <[email protected]>2013-04-17 16:10:44 -0700
commit355f1ecbcc81efb6611290b772e7ae77ece4059c (patch)
tree38a8e2067efa8bf06baa63217020ee51680027f0 /lib/memory-notifier-error-inject.c
parentfca83168aae6fa0c36a923ef99311587ad5b54f2 (diff)
thinkpad-acpi: kill hotkey_thread_mutex
hotkey_kthread() does try_to_freeze() under hotkey_thread_mutex. We can simply kill this mutex, hotkey_poll_stop_sync() does not need to serialize with hotkey_kthread(). When kthread_stop() returns the thread is already dead, it called do_exit()->complete_vfork_done(). Reported-by: Artem Savkov <[email protected]> Reported-by: Maciej Rutecki <[email protected]> Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Henrique de Moraes Holschuh <[email protected]> Cc: Matthew Garrett <[email protected]> Cc: "Rafael J. Wysocki" <[email protected]> Reviewed-by: Mandeep Singh Baines <[email protected]> Cc: Aaron Lu <[email protected]> Cc: Tejun Heo <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions