OSDN Git Service

tick/sched: Release seqcount before invoking calc_load_global()
authorYunfeng Ye <yeyunfeng@huawei.com>
Tue, 17 Nov 2020 13:19:48 +0000 (14:19 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 19 Nov 2020 09:48:29 +0000 (10:48 +0100)
commit896b969e6732b68ee3c12ae4e1aeddf5db99bc46
treee30a383f2649a1e6f5d32ad6031c845d2571b182
parent7a35bf2a6a871cd0252cd371d741e7d070b53af9
tick/sched: Release seqcount before invoking calc_load_global()

calc_load_global() does not need the sequence count protection.

[ tglx: Split it up properly and added comments ]

Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20201117132006.660902274@linutronix.de
kernel/time/tick-sched.c