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:Peter Zijlstra <peterz@infradead.org> Signed-off-by:
Frederic Weisbecker <frederic@kernel.org> Signed-off-by:
Ingo Molnar <mingo@kernel.org> Link: https://lore.kernel.org/r/20210512232924.150322-10-frederic@kernel.org Signed-off-by:
Yunfeng Ye <yeyunfeng@huawei.com> Reviewed-by:
liu chao <liuchao173@huawei.com> Reviewed-by:
Chen Hui <judy.chenhui@huawei.com> Acked-by:
Xie XiuQi <xiexiuqi@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>
Loading
Please sign in to comment