Commit e858b9ce authored by Cheng Jian's avatar Cheng Jian Committed by Cheng Yu
Browse files

sched/fair: introduce SCHED_STEAL

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I8PIYZ


CVE: NA

---------------------------

Introduce CONFIG_SCHED_STEAL to limit the impact of steal task.

1). If turn off CONFIG_SCHED_STEAL, then all the changes will not
exist, for we use some empty functions, so this depends on compiler
optimization.

2). enable CONFIG_SCHED_STEAL, but disable STEAL and schedstats, it
will introduce some impact whith schedstat check. but this has little
effect on performance. This will be our default choice.

Signed-off-by: default avatarCheng Jian <cj.chengjian@huawei.com>
Signed-off-by: default avatarCheng Yu <serein.chengyu@huawei.com>
parent 6163a0d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment