linux513-tkg: Update Project C patchset to v5.13-r3

b5886f5bc8
This commit is contained in:
Tk-Glitch
2021-08-22 23:32:29 +02:00
parent e648a64963
commit 8bb86e6e2b
3 changed files with 7 additions and 13 deletions

View File

@@ -59,7 +59,7 @@ else
fi
pkgname=("${pkgbase}" "${pkgbase}-headers")
pkgver="${_basekernel}"."${_sub}"
pkgrel=192
pkgrel=193
pkgdesc='Linux-tkg'
arch=('x86_64') # no i686 in here
url="http://www.kernel.org/"
@@ -533,7 +533,7 @@ case $_basever in
'b0004bc559653fd8719b8adcfa1ead1075db3425d30d7d7adb8cbc6296386a8f'
'9fad4a40449e09522899955762c8928ae17f4cdaa16e01239fd12592e9d58177'
'a557b342111849a5f920bbe1c129f3ff1fc1eff62c6bd6685e0972fc88e39911'
'18ac1705203969485d5811c93fdecb9d042020cc69567b579b32053ac4ceb1c9'
'ccf925b6326a8cf63d28c00a7645a0fa120608bfcf5dabb77a4522f249aa306d'
'7fb1104c167edb79ec8fbdcde97940ed0f806aa978bdd14d0c665a1d76d25c24'
'b1c6599d0e1ac9b66898d652ed99dae3fb8676d840a43ffa920a78d96e0521be'
'b0319a7dff9c48b2f3e3d3597ee154bf92223149a633a8b7ce4026252db86da6')

View File

@@ -436,7 +436,7 @@ _tkg_srcprep() {
elif [ "$_basever" = "512" ]; then
rev=1
elif [ "$_basever" = "513" ]; then
rev=2
rev=3
else
rev=0
fi

View File

@@ -647,10 +647,10 @@ index 5fc9c9b70862..06b60d612535 100644
obj-$(CONFIG_CPU_FREQ_GOV_SCHEDUTIL) += cpufreq_schedutil.o
diff --git a/kernel/sched/alt_core.c b/kernel/sched/alt_core.c
new file mode 100644
index 000000000000..e296d56e85f0
index 000000000000..b10012b67435
--- /dev/null
+++ b/kernel/sched/alt_core.c
@@ -0,0 +1,7227 @@
@@ -0,0 +1,7221 @@
+/*
+ * kernel/sched/alt_core.c
+ *
@@ -720,7 +720,7 @@ index 000000000000..e296d56e85f0
+#define sched_feat(x) (0)
+#endif /* CONFIG_SCHED_DEBUG */
+
+#define ALT_SCHED_VERSION "v5.13-r2"
+#define ALT_SCHED_VERSION "v5.13-r3"
+
+/* rt_prio(prio) defined in include/linux/sched/rt.h */
+#define rt_task(p) rt_prio((p)->prio)
@@ -3974,15 +3974,9 @@ index 000000000000..e296d56e85f0
+ struct task_struct *p = current;
+ unsigned long flags;
+ int dest_cpu;
+ struct rq *rq;
+
+ raw_spin_lock_irqsave(&p->pi_lock, flags);
+ rq = this_rq();
+
+ if (rq != task_rq(p) || rq->nr_running < 2)
+ goto unlock;
+
+ dest_cpu = select_task_rq(p);
+ dest_cpu = cpumask_any(p->cpus_ptr);
+ if (dest_cpu == smp_processor_id())
+ goto unlock;
+