Compare commits

..

11 Commits

Author SHA1 Message Date
Sravan Balaji
8d5131804e PDS Kernel Configuration 2023-11-08 21:41:44 -05:00
Piotr Górski
7e07a8288d 6.6: Add bcachefs (#837)
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
2023-11-02 18:05:08 +01:00
Piotr Górski
2a6832e697 6.6: EEVDF adaptation to BORE 3.2.9 (#832)
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
2023-11-02 17:53:09 +01:00
Tk-Glitch
94a2ac0bd8 6.6rc: For BORE, apply additional/pending eevdf changes.
Following 1454d6c705
2023-10-26 16:35:00 +02:00
Tk-Glitch
a2b6fc7bbe Update rt mappings 2023-10-26 04:01:40 +02:00
Tk-Glitch
2f482b4904 6.1: glitched-base fixups for current
Fixes https://github.com/Frogging-Family/linux-tkg/issues/824
2023-10-26 03:59:56 +02:00
Tk-Glitch
b30f072867 6.5/6.6: Apply eevdf-Disable-DELAY_DEQUEUE on eevdf
Following 94383606d0
2023-10-26 03:59:19 +02:00
Piotr Górski
94383606d0 EEVDF: Disable DELAY_DEQUEUE - fix #830 (#831)
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
2023-10-26 03:07:09 +02:00
Piotr Górski
1454d6c705 6.6: EEVDF adaptation to BORE 3.2.8 (#829)
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
2023-10-24 21:41:31 +02:00
Piotr Górski
d9da42be99 6.5: EEVDF adaptation to BORE 3.2.8 (#828)
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
2023-10-24 21:07:12 +02:00
Piotr Górski
20aea5a14a 6.5: Add EEVDF urgent fix (#827)
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
2023-10-17 22:30:22 +02:00
5 changed files with 98742 additions and 39 deletions

View File

@@ -48,11 +48,11 @@ _rt_subver_map=(
["5.16"]="2"
["5.17"]="1"
["6.0"]="5"
["6.1"]="46"
["6.1"]="59"
["6.3"]="3"
["6.4"]="6"
["6.5"]="2"
["6.6"]="rc1"
["6.6"]="rc6"
)
# PREEMPT_RT's patch revision for the kernel
@@ -68,11 +68,11 @@ _rt_rev_map=(
["5.16"]="19"
["5.17"]="17"
["6.0"]="14"
["6.1"]="14"
["6.1"]="16"
["6.3"]="15"
["6.4"]="8"
["6.5"]="8"
["6.6"]="1"
["6.6"]="10"
)
_undefine() {
@@ -861,6 +861,9 @@ _tkg_srcprep() {
_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
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

View File

@@ -770,7 +770,7 @@ diff --git a/mm/page_alloc.c b/mm/page_alloc.c
index a0b0397e29ee4c..87a983a356530c 100644
--- a/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,
int migratetype, unsigned int alloc_flags)
{
unsigned long flags;
- int i, allocated = 0;
+ const bool can_resched = !preempt_count() && !irqs_disabled();
+ int i, allocated = 0, last_mod = 0;
/* Caller must hold IRQ-safe pcp->lock so IRQs are disabled. */
spin_lock(&zone->lock);
spin_lock_irqsave(&zone->lock, flags);
for (i = 0; i < count; ++i) {
@@ -3137,6 +3138,18 @@ static int rmqueue_bulk(struct zone *zone, unsigned int order,
if (unlikely(page == NULL))
break;
@@ -819,3 +820,4 @@ index a0b0397e29ee4c..87a983a356530c 100644
spin_unlock(&zone->lock);
return allocated;
}

File diff suppressed because it is too large Load Diff

View 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

File diff suppressed because it is too large Load Diff