Loading
livepatch: Complete check calltrace for running tasks
hulk inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I9R2TB -------------------------------- As before, task calltrace checking was assumed being performed under stop_machine and tasks to be checked are all not in running state. So there is one case that old function not needed to check, that is: preemption disabled and 'force' field not be KLP_NORMAL_FORCE and no 'call' instructions in livepatch replace area. But when using breakpoint optimization without stop_machine, tasks may be running, we can not ignore above check. Signed-off-by:Zheng Yejian <zhengyejian1@huawei.com>