Commit dab3bdb9 authored by Xiongfeng Wang's avatar Xiongfeng Wang
Browse files

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: default avatarXiongfeng Wang <wangxiongfeng2@huawei.com>
Reviewed-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarWei Li <liwei391@huawei.com>
Reviewed-by: default avatarCheng Jian <cj.chengjian@huawei.com>
parent 67d9ff03
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment