summarylogtreecommitdiffstats
path: root/0019-Revert-RR_TIMESLICE-to-1ms.patch
blob: 63a379f00123db39123e2d132de75a7e19bbef95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From 05e9b9db5a5a9bf681971ba326e24e5ac6de9a20 Mon Sep 17 00:00:00 2001
From: Hamad Marri <hamad.s.almarri@gmail.com>
Date: Wed, 3 Apr 2024 19:20:17 +0300
Subject: [PATCH] Revert "RR_TIMESLICE to 1ms"

This reverts commit 439c2265ffa2cf6f5484ef24a9cc746ce8357840.
---
 include/linux/sched/rt.h | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/include/linux/sched/rt.h b/include/linux/sched/rt.h
index 13f362537..b2b9e6eb9 100644
--- a/include/linux/sched/rt.h
+++ b/include/linux/sched/rt.h
@@ -58,10 +58,6 @@ extern void normalize_rt_tasks(void);
  * default timeslice is 100 msecs (used only for SCHED_RR tasks).
  * Timeslices get refilled after they expire.
  */
-#ifdef CONFIG_ECHO_SCHED
-#define RR_TIMESLICE		(1)
-#else
 #define RR_TIMESLICE		(100 * HZ / 1000)
-#endif
 
 #endif /* _LINUX_SCHED_RT_H */
-- 
2.44.0