diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-06-29 12:04:12 +0100 |
commit | 0f558761aa2dee1017b4751e4017205e015a9560 (patch) | |
tree | 037df795519468a25d9362b4e95cdaeb84eb1cf9 /sys-kernel/pf-sources/files/pf-sources-5.17.2-sched-uclamp-fix-functions.patch | |
parent | 752d6256e5204b958b0ef7905675a940b5e9172f (diff) |
gentoo resync : 29.12.2022
Diffstat (limited to 'sys-kernel/pf-sources/files/pf-sources-5.17.2-sched-uclamp-fix-functions.patch')
-rw-r--r-- | sys-kernel/pf-sources/files/pf-sources-5.17.2-sched-uclamp-fix-functions.patch | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/sys-kernel/pf-sources/files/pf-sources-5.17.2-sched-uclamp-fix-functions.patch b/sys-kernel/pf-sources/files/pf-sources-5.17.2-sched-uclamp-fix-functions.patch deleted file mode 100644 index 24404669add6..000000000000 --- a/sys-kernel/pf-sources/files/pf-sources-5.17.2-sched-uclamp-fix-functions.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 170a1f1454a4453c0053f87723fd15634c863e05 Mon Sep 17 00:00:00 2001 -From: Tor Vic <torvic9@mailbox.org> -Date: Thu, 7 Apr 2022 14:54:10 +0200 -Subject: [PATCH] sched/alt: [Sync] sched/uclamp: Add dummy functions to - sched_alt.h - -Syncup of the following 5.17.2 commits: - sched/uclamp: Fix iowait boost escaping uclamp restriction - sched/sugov: Ignore 'busy' filter when rq is capped by uclamp_max - -Link: https://gitlab.com/alfredchen/linux-prjc/-/issues/56 ---- - kernel/sched/alt_sched.h | 14 ++++++++++++++ - 1 file changed, 14 insertions(+) - -diff --git a/kernel/sched/alt_sched.h b/kernel/sched/alt_sched.h -index f2b9e686d6a6..55c2a4c0cb84 100644 ---- a/kernel/sched/alt_sched.h -+++ b/kernel/sched/alt_sched.h -@@ -654,6 +654,20 @@ static inline int sched_numa_find_closest(const struct cpumask *cpus, int cpu) - } - #endif - -+static inline -+unsigned long uclamp_rq_util_with(struct rq *rq, unsigned long boost, -+ struct task_struct *p) -+{ -+ return boost; -+} -+ -+static inline bool uclamp_rq_is_capped(struct rq *rq) { return false; } -+ -+static inline bool uclamp_is_used(void) -+{ -+ return false; -+} -+ - extern void swake_up_all_locked(struct swait_queue_head *q); - extern void __prepare_to_swait(struct swait_queue_head *q, struct swait_queue *wait); - --- -GitLab - |