sched/fair: Dynamically update cfs_overload_cpus
maillist inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8PIYZ CVE: NA Reference: https://lore.kernel.org/lkml/1541767840-93588-5-git-send-email-steven.sistare@oracle.com/ --------------------------- An overloaded CPU has more than 1 runnable task. When a CFS task wakes on a CPU, if h_nr_running transitions from 1 to more, then set the CPU in the cfs_overload_cpus bitmap. When a CFS task sleeps, if h_nr_running transitions from 2 to less, then clear the CPU in cfs_overload_cpus. Signed-off-by:Steve Sistare <steven.sistare@oracle.com> Signed-off-by:
Cheng Yu <serein.chengyu@huawei.com>
Loading
Please sign in to comment