]> git.baikalelectronics.ru Git - kernel.git/commit
livepatch: Remove duplicate warning about missing reliable stacktrace support
authorPetr Mladek <pmladek@suse.com>
Tue, 11 Jun 2019 14:13:20 +0000 (16:13 +0200)
committerPetr Mladek <pmladek@suse.com>
Thu, 20 Jun 2019 14:19:13 +0000 (16:19 +0200)
commit7f9498bdf7b331df409285abad9bbd849527cfbf
tree903415ac7d0f4d408f002dbca75002a0cfd3f7c9
parentfbddb75ea1e0d1e13e79221723bccc0b48c899ba
livepatch: Remove duplicate warning about missing reliable stacktrace support

WARN_ON_ONCE() could not be called safely under rq lock because
of console deadlock issues. Moreover WARN_ON_ONCE() is superfluous in
klp_check_stack(), because stack_trace_save_tsk_reliable() cannot return
-ENOSYS thanks to klp_have_reliable_stack() check in
klp_try_switch_task().

[ mbenes: changelog edited ]
Signed-off-by: Miroslav Benes <mbenes@suse.cz>
Acked-by: Josh Poimboeuf <jpoimboe@redhat.com>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Petr Mladek <pmladek@suse.com>
kernel/livepatch/transition.c