stop_machine: mask sdei before running the callback
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8LQCC ---------------------------------------- Kprobes use 'stop_machine' to modify code which could be ran in the sdei_handler at the same time. This patch mask sdei before running the stop_machine callback to avoid this race condition. Signed-off-by:Xiongfeng Wang <wangxiongfeng2@huawei.com> Reviewed-by:
Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Wei Li <liwei391@huawei.com> Reviewed-by:
Cheng Jian <cj.chengjian@huawei.com>
Loading
Please sign in to comment