livepatch/arm64: use for_each_process_thread instead instead of while_each_thread
euler inclusion category: bugfix Bugzilla: 5507 CVE: N/A ---------------------------------------- The commit 0c740d0a ("introduce for_each_thread() to replace the buggy while_each_thread()") replace while_each_thread. while_each_thread() and next_thread() should die, almost every lockless. So use for_each_process_thread which is more safer than others to check the livepatch activeness function when enable. Signed-off-by: NCheng Jian <cj.chengjian@huawei.com> Reviewed-by: NLi Bin <huawei.libin@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录