summaryrefslogtreecommitdiff
path: root/patch-4.18-ck1-jcmod1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patch-4.18-ck1-jcmod1.patch')
-rw-r--r--patch-4.18-ck1-jcmod1.patch18
1 files changed, 10 insertions, 8 deletions
diff --git a/patch-4.18-ck1-jcmod1.patch b/patch-4.18-ck1-jcmod1.patch
index 3e0f45d..5b9db88 100644
--- a/patch-4.18-ck1-jcmod1.patch
+++ b/patch-4.18-ck1-jcmod1.patch
@@ -16115,21 +16115,23 @@ index 2d9837c0aff4..dc8ef7c52781 100644
static int ten_thousand __read_only = 10000;
#endif
#ifdef CONFIG_PERF_EVENTS
-@@ -292,7 +300,7 @@ .maxlen = sizeof(unsigned int),
- .mode = 0644,
- .proc_handler = proc_dointvec,
- },
+@@ -292,7 +300,7 @@ },
+ { }
+ };
+
-#ifdef CONFIG_SCHED_DEBUG
+#if defined(CONFIG_SCHED_DEBUG) && !defined(CONFIG_SCHED_MUQSS)
- {
- .procname = "sched_min_granularity_ns",
- .data = &sysctl_sched_min_granularity,
-@@ -322,4 +322,5 @@ #endif
+ static int min_sched_granularity_ns __read_only = 100000; /* 100 usecs */
+ static int max_sched_granularity_ns __read_only = NSEC_PER_SEC; /* 1 second */
+ static int min_wakeup_granularity_ns __read_only; /* 0 usecs */
+@@ -309,6 +317,7 @@ static int max_extfrag_threshold = 1000;
+ #endif
static struct ctl_table kern_table[] = {
+#ifndef CONFIG_SCHED_MUQSS
{
.procname = "sched_child_runs_first",
+ .data = &sysctl_sched_child_runs_first,
@@ -471,6 +480,7 @@ static struct ctl_table kern_table[] = {
.extra1 = &one,
},