Compare commits
11 Commits
v6.5.8
...
8d5131804e
Author | SHA1 | Date | |
---|---|---|---|
|
8d5131804e | ||
|
7e07a8288d | ||
|
2a6832e697 | ||
|
94a2ac0bd8 | ||
|
a2b6fc7bbe | ||
|
2f482b4904 | ||
|
b30f072867 | ||
|
94383606d0 | ||
|
1454d6c705 | ||
|
d9da42be99 | ||
|
20aea5a14a |
@@ -48,11 +48,11 @@ _rt_subver_map=(
|
|||||||
["5.16"]="2"
|
["5.16"]="2"
|
||||||
["5.17"]="1"
|
["5.17"]="1"
|
||||||
["6.0"]="5"
|
["6.0"]="5"
|
||||||
["6.1"]="46"
|
["6.1"]="59"
|
||||||
["6.3"]="3"
|
["6.3"]="3"
|
||||||
["6.4"]="6"
|
["6.4"]="6"
|
||||||
["6.5"]="2"
|
["6.5"]="2"
|
||||||
["6.6"]="rc1"
|
["6.6"]="rc6"
|
||||||
)
|
)
|
||||||
|
|
||||||
# PREEMPT_RT's patch revision for the kernel
|
# PREEMPT_RT's patch revision for the kernel
|
||||||
@@ -68,11 +68,11 @@ _rt_rev_map=(
|
|||||||
["5.16"]="19"
|
["5.16"]="19"
|
||||||
["5.17"]="17"
|
["5.17"]="17"
|
||||||
["6.0"]="14"
|
["6.0"]="14"
|
||||||
["6.1"]="14"
|
["6.1"]="16"
|
||||||
["6.3"]="15"
|
["6.3"]="15"
|
||||||
["6.4"]="8"
|
["6.4"]="8"
|
||||||
["6.5"]="8"
|
["6.5"]="8"
|
||||||
["6.6"]="1"
|
["6.6"]="10"
|
||||||
)
|
)
|
||||||
|
|
||||||
_undefine() {
|
_undefine() {
|
||||||
@@ -861,6 +861,9 @@ _tkg_srcprep() {
|
|||||||
_msg="Applying BORE-EEVDF patch"
|
_msg="Applying BORE-EEVDF patch"
|
||||||
curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/sched/0001-bore-eevdf.patch" > "$srcdir"/0001-bore-eevdf.patch
|
curl "https://raw.githubusercontent.com/CachyOS/kernel-patches/master/${_basekernel}/sched/0001-bore-eevdf.patch" > "$srcdir"/0001-bore-eevdf.patch
|
||||||
tkgpatch="$srcdir/0001-bore-eevdf.patch" && _tkg_patcher
|
tkgpatch="$srcdir/0001-bore-eevdf.patch" && _tkg_patcher
|
||||||
|
else
|
||||||
|
_msg="Applying eevdf-Disable-DELAY_DEQUEUE patch"
|
||||||
|
tkgpatch="$srcdir/0004-eevdf-Disable-DELAY_DEQUEUE.patch" && _tkg_patcher
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -770,7 +770,7 @@ diff --git a/mm/page_alloc.c b/mm/page_alloc.c
|
|||||||
index a0b0397e29ee4c..87a983a356530c 100644
|
index a0b0397e29ee4c..87a983a356530c 100644
|
||||||
--- a/mm/page_alloc.c
|
--- a/mm/page_alloc.c
|
||||||
+++ b/mm/page_alloc.c
|
+++ b/mm/page_alloc.c
|
||||||
@@ -3119,15 +3119,16 @@ __rmqueue(struct zone *zone, unsigned int order, int migratetype,
|
@@ -3118,15 +3119,16 @@ __rmqueue(struct zone *zone, unsigned int order, int migratetype,
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
@@ -785,12 +785,13 @@ index a0b0397e29ee4c..87a983a356530c 100644
|
|||||||
unsigned long count, struct list_head *list,
|
unsigned long count, struct list_head *list,
|
||||||
int migratetype, unsigned int alloc_flags)
|
int migratetype, unsigned int alloc_flags)
|
||||||
{
|
{
|
||||||
|
unsigned long flags;
|
||||||
- int i, allocated = 0;
|
- int i, allocated = 0;
|
||||||
+ const bool can_resched = !preempt_count() && !irqs_disabled();
|
+ const bool can_resched = !preempt_count() && !irqs_disabled();
|
||||||
+ int i, allocated = 0, last_mod = 0;
|
+ int i, allocated = 0, last_mod = 0;
|
||||||
|
|
||||||
/* Caller must hold IRQ-safe pcp->lock so IRQs are disabled. */
|
spin_lock_irqsave(&zone->lock, flags);
|
||||||
spin_lock(&zone->lock);
|
for (i = 0; i < count; ++i) {
|
||||||
@@ -3137,6 +3138,18 @@ static int rmqueue_bulk(struct zone *zone, unsigned int order,
|
@@ -3137,6 +3138,18 @@ static int rmqueue_bulk(struct zone *zone, unsigned int order,
|
||||||
if (unlikely(page == NULL))
|
if (unlikely(page == NULL))
|
||||||
break;
|
break;
|
||||||
@@ -819,3 +820,4 @@ index a0b0397e29ee4c..87a983a356530c 100644
|
|||||||
spin_unlock(&zone->lock);
|
spin_unlock(&zone->lock);
|
||||||
return allocated;
|
return allocated;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
26
linux-tkg-patches/6.5/0004-eevdf-Disable-DELAY_DEQUEUE.patch
Normal file
26
linux-tkg-patches/6.5/0004-eevdf-Disable-DELAY_DEQUEUE.patch
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
From 24cd48424c96118bbb0fc8af93bfdc98570c31bf Mon Sep 17 00:00:00 2001
|
||||||
|
From: Piotr Gorski <lucjan.lucjanov@gmail.com>
|
||||||
|
Date: Wed, 25 Oct 2023 21:49:14 +0200
|
||||||
|
Subject: [PATCH] EEVDF: Disable DELAY_DEQUEUE
|
||||||
|
|
||||||
|
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
|
||||||
|
---
|
||||||
|
kernel/sched/features.h | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/kernel/sched/features.h b/kernel/sched/features.h
|
||||||
|
index fd2c963b7..6225be566 100644
|
||||||
|
--- a/kernel/sched/features.h
|
||||||
|
+++ b/kernel/sched/features.h
|
||||||
|
@@ -44,7 +44,7 @@ SCHED_FEAT(EVDF, false)
|
||||||
|
*
|
||||||
|
* GENTLE_DELAY clips the lag on dequeue (or wakeup) to 0.
|
||||||
|
*/
|
||||||
|
-SCHED_FEAT(DELAY_DEQUEUE, true)
|
||||||
|
+SCHED_FEAT(DELAY_DEQUEUE, false)
|
||||||
|
SCHED_FEAT(GENTLE_DELAY, true)
|
||||||
|
|
||||||
|
/*
|
||||||
|
--
|
||||||
|
2.42.0
|
||||||
|
|
97244
linux-tkg-patches/6.6/0008-6.6-bcachefs.patch
Normal file
97244
linux-tkg-patches/6.6/0008-6.6-bcachefs.patch
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user