提交 7339ca6e 编写于 作者: Z Zhang Qiao 提交者: Zheng Zengkai

sysctl: Modify sysctl_overload_detect_period minimum to 100ms

hulk inclusion
category: features
bugzilla: https://gitee.com/openeuler/kernel/issues/I4UQ08
CVE: NA

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

The sysctl_overload_detect_period indicates the maximum time that an
offline task can be preempted by online tasks. Currently, this minimum
is 1s, it is too long for the vcpu thread in VM. So set its minimum to
100ms.
Signed-off-by: NZhang Qiao <zhangqiao22@huawei.com>
Reviewed-by: NChen Hui <judy.chenhui@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 260d7f10
...@@ -2699,7 +2699,7 @@ static struct ctl_table kern_table[] = { ...@@ -2699,7 +2699,7 @@ static struct ctl_table kern_table[] = {
.maxlen = sizeof(unsigned int), .maxlen = sizeof(unsigned int),
.mode = 0644, .mode = 0644,
.proc_handler = proc_dointvec_minmax, .proc_handler = proc_dointvec_minmax,
.extra1 = &one_thousand, .extra1 = &one_hundred,
.extra2 = &hundred_thousand, .extra2 = &hundred_thousand,
}, },
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册