diff options
author | Oleg Nesterov <[email protected]> | 2013-04-17 15:58:23 -0700 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2013-04-17 16:10:44 -0700 |
commit | 355f1ecbcc81efb6611290b772e7ae77ece4059c (patch) | |
tree | 38a8e2067efa8bf06baa63217020ee51680027f0 /lib/memory-notifier-error-inject.c | |
parent | fca83168aae6fa0c36a923ef99311587ad5b54f2 (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