tick/nohz: Call tick_nohz_task_switch() with interrupts disabled
mainline inclusion from mainline-5.14-rc1 commit 0fdcccfa category: feature feature: Deep isolation bugzilla: https://gitee.com/openeuler/kernel/issues/I4N00D CVE: NA Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0fdcccfafcffac70b452b3127cc3d981f0117655 -------------------------------- Call tick_nohz_task_switch() slightly earlier after the context switch to benefit from disabled IRQs. This way the function doesn't need to disable them once more. Signed-off-by: NPeter Zijlstra <peterz@infradead.org> Signed-off-by: NFrederic Weisbecker <frederic@kernel.org> Signed-off-by: NIngo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210512232924.150322-10-frederic@kernel.orgSigned-off-by: NYunfeng Ye <yeyunfeng@huawei.com> Reviewed-by: Nliu chao <liuchao173@huawei.com> Reviewed-by: NChen Hui <judy.chenhui@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录