aboutsummaryrefslogtreecommitdiff
path: root/SOURCES/tkg.patch
diff options
context:
space:
mode:
Diffstat (limited to 'SOURCES/tkg.patch')
-rw-r--r--SOURCES/tkg.patch21
1 files changed, 11 insertions, 10 deletions
diff --git a/SOURCES/tkg.patch b/SOURCES/tkg.patch
index b3346ce..1d6551a 100644
--- a/SOURCES/tkg.patch
+++ b/SOURCES/tkg.patch
@@ -104,7 +104,7 @@ diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c
index 6b3b59cc51d6..2a0072192c3d 100644
--- a/kernel/sched/fair.c
+++ b/kernel/sched/fair.c
-@@ -37,8 +37,13 @@
+@@ -69,8 +69,13 @@
*
* (default: 6ms * (1 + ilog(ncpus)), units: nanoseconds)
*/
@@ -118,7 +118,7 @@ index 6b3b59cc51d6..2a0072192c3d 100644
/*
* The initial- and re-scaling of tunables is configurable
-@@ -58,21 +63,34 @@ enum sched_tunable_scaling sysctl_sched_tunable_scaling = SCHED_TUNABLESCALING_L
+@@ -90,8 +95,13 @@
*
* (default: 0.75 msec * (1 + ilog(ncpus)), units: nanoseconds)
*/
@@ -132,7 +132,7 @@ index 6b3b59cc51d6..2a0072192c3d 100644
/*
* Minimal preemption granularity for CPU-bound SCHED_IDLE tasks.
- * Applies only when SCHED_IDLE tasks compete with normal tasks.
+@@ -99,12 +109,20 @@
*
* (default: 0.75 msec)
*/
@@ -153,7 +153,7 @@ index 6b3b59cc51d6..2a0072192c3d 100644
/*
* After fork, child runs first. If set to 0 (default) then
-@@ -128,8 +149,12 @@ int __weak arch_asym_cpu_priority(int cpu)
+@@ -175,8 +193,12 @@
*
* (default: 5 msec, units: microseconds)
*/
@@ -164,8 +164,9 @@ index 6b3b59cc51d6..2a0072192c3d 100644
#endif
+#endif
- #ifdef CONFIG_SYSCTL
- static struct ctl_table sched_fair_sysctls[] = {
+ #ifdef CONFIG_NUMA_BALANCING
+ /* Restrict the NUMA promotion throughput (MB/s) for each target node. */
+
diff --git a/mm/page-writeback.c b/mm/page-writeback.c
index 28b3e7a67565..01a1aef2b9b1 100644
--- a/mm/page-writeback.c
@@ -426,7 +427,7 @@ diff --git a/block/elevator.c b/block/elevator.c
index 4eab3d70e880..79669aa39d79 100644
--- a/block/elevator.c
+++ b/block/elevator.c
-@@ -628,8 +628,8 @@
+@@ -561,8 +561,8 @@
}
/*
@@ -437,12 +438,12 @@ index 4eab3d70e880..79669aa39d79 100644
*/
static struct elevator_type *elevator_get_default(struct request_queue *q)
{
-@@ -640,7 +640,7 @@
+@@ -573,7 +573,7 @@
!blk_mq_is_shared_tags(q->tag_set->flags))
return NULL;
-- return elevator_get(q, "mq-deadline", false);
-+ return elevator_get(q, "bfq", false);
+- return elevator_find_get(q, "mq-deadline");
++ return elevator_find_get(q, "bfq");
}
/*