Commit Graph

1230 Commits

Author SHA1 Message Date
ViNi-Arco
0b7c5dfa72 Sync MGLRU with latest Yuzhao changes: (#654)
Yuzhao posted his latest change to his personal repository..

https://github.com/yuzhaogoogle/linux/commits/mglru-6.0
Backup: http://web.archive.org/web/20221123173922/https://github.com/yuzhaogoogle/linux/commits/mglru-6.0
2022-11-24 15:42:21 +01:00
Adel Kara Slimane
75ea27821f PKGBUILD: sourcing order fix (#653)
* PKGBUILD: source prepare after the config files

The git mirror wasn't configured with the user choice otherwise
Fixes: #647

* install.sh: honor external config file
2022-11-23 15:13:07 +01:00
Tk-Glitch
f5cd3ea3b3 cfg: Enable _random_trust_cpu by default
See https://github.com/Frogging-Family/linux-tkg/issues/646
2022-11-22 14:30:54 +01:00
ViNi-Arco
81c14e1950 Update tovic9 prjc sched to latest changes - 2: (#652)
* Update prjc Torvic9 fork

Which contains synchronization to the latest kernel with a possible solution for instability.

* Clean white space
2022-11-22 02:02:59 +01:00
Tk-Glitch
081d3097a0 cfg: comment: Add "torvalds" as possible _git_mirror value
Following https://github.com/Frogging-Family/linux-tkg/pull/642
2022-11-07 15:21:33 +01:00
Tk-Glitch
be8c8e8230 preempt_rt: Handle RC kernels and add 6.1 RC to mapping 2022-11-07 14:15:18 +01:00
Slaviusz
86d2ec1f79 Add Torvalds' git repo for faster -rc kernel evaluation (#642) 2022-11-07 14:00:30 +01:00
ptr1337
eb2be11b19 Update bcachefs patches for 5.15 and 6.0 (#641)
* Update bcachefs for 6.0

Signed-off-by: Peter Jung <admin@ptr1337.dev>

* Update bcachefs for 5.15

Signed-off-by: Peter Jung <admin@ptr1337.dev>

Signed-off-by: Peter Jung <admin@ptr1337.dev>
2022-11-07 13:59:45 +01:00
Tk-Glitch
aaa7b3d556 linux 6.0.y: defconfig: Sync with 6.0.5-arch1 2022-11-05 18:34:39 +01:00
Tk-Glitch
aa69546f01 linux 6.0.y: Due to popular demand, allow unofficial Project C port again but make it clear it might be unstable
Since we are either doing ports ourselves or using other's while we wait for Alfred's, let's handle unofficial versions with a toggle "marking" them until proper release eventually becomes available.

Fixes https://github.com/Frogging-Family/linux-tkg/issues/631
2022-11-05 18:24:07 +01:00
Tk-Glitch
accb6d07f4 preempt_rt: Add a warning regarding cpu schedulers availability when preempt_rt is enabled
Fixes https://github.com/Frogging-Family/linux-tkg/issues/635
2022-11-05 18:01:52 +01:00
Tk-Glitch
f79f7ddb8e preempt_rt: Allow BORE cpusched on compatible kernels
It's a pretty minor CFS mod, should work 🐸
2022-11-05 17:57:51 +01:00
Tk-Glitch
4201196110 preempt_rt: Fixups
- get rid of the deprecated _kver_subver_map and related check
- notify the user about the last known good kernel version target of the PREEMPT_RT patchset
- use warning instead of msg2 for PREEMPT_RT patch skipping since we are skipping a very impacting patch explicitly requested by the .cfg
2022-11-05 17:50:15 +01:00
Tk-Glitch
8b0d439206 preempt_rt: Move sched/core: nr_migrate = 128 increases number of tasks to iterate in a single balance run. patch out of glitched base, and only apply on non-preempt-rt.
Fixes a conflict on 5.4.y, 5.10.y and 5.15.y
2022-11-05 17:46:19 +01:00
Tk-Glitch
8316a6970a Bump RT patches 2022-11-05 17:11:36 +01:00
ptr1337
c171d77094 fix 0012-misc-additions.patch for 6.0.7 (#639)
Signed-off-by: Peter Jung <admin@ptr1337.dev>

Signed-off-by: Peter Jung <admin@ptr1337.dev>
2022-11-05 16:23:49 +01:00
Vasiliy Stelmachenok
16c81fb013 Clarify the description of the tickless parameter (#636) 2022-11-02 13:49:58 +01:00
Tk-Glitch
1882fa3bd9 linux 6.1 RC: Allow BORE cpusched 2022-10-31 18:50:45 +01:00
Tk-Glitch
c4ceba207d linux 5.15.y: Allow BORE cpusched
Fixes https://github.com/Frogging-Family/linux-tkg/issues/623
2022-10-31 18:48:17 +01:00
Tk-Glitch
a380d532bc linux 5.10.y: Update Project C to r5 - https://gitlab.com/alfredchen/linux-prjc/-/tree/linux-5.10.y-prjc-lts 2022-10-26 20:42:55 +02:00
Tk-Glitch
b82abcf5f6 Move 5.19 to EOL 2022-10-26 20:03:23 +02:00
Tk-Glitch
1084ad5ba1 linux 6.0.y: misc-additions: Remove Revert "ALSA: hda: Fix page fault in snd_hda_codec_shutdown()" as it was merged with v6.0.4 2022-10-26 19:53:02 +02:00
Tk-Glitch
1e4b8fb627 linux 6.1 RC: Remove fixes merged in RC2 2022-10-24 15:53:50 +02:00
Tk-Glitch
02132367d6 Add support for zen4 and meteorlake compiler optimizations 2022-10-23 15:51:47 +02:00
Tk-Glitch
1c4fece830 linux 6.0.y: Add fixes and update defconfig to 6.0.3.arch2
ed63a1d111/trunk/config

fb23dad87a
785699dbc7
6df3912f64
41d72c2322
2022-10-23 15:48:24 +02:00
Tk-Glitch
786140014b Make sure WERROR is disabled by default
RCs and custom patches will throw warnings, and while the Arch defconfig we ship disables it, people using their own might face compilation failures.

Fixes https://github.com/Frogging-Family/linux-tkg/issues/628
2022-10-18 13:37:22 +02:00
Tk-Glitch
c162bca30d linux 6.1 RC: Fixups for 0001-mm-Support-soft-dirty-flag-reset-for-VA-range patch 2022-10-17 16:07:45 +02:00
Tk-Glitch
da7b57fa92 Initial kernel 6.1 RC support 2022-10-17 14:07:20 +02:00
Tk-Glitch
9e06bbfb46 linux 6.0.y: misc-additions: Add 0004-drm-sched-add-DRM_SCHED_FENCE_DONT_PIPELINE-flag and 0005-drm-amdgpu-use-DRM_SCHED_FENCE_DONT_PIPELINE-for-VM-, pending fixes for https://gitlab.freedesktop.org/drm/amd/-/issues/2113 from Christian König 2022-10-15 15:22:52 +02:00
Tk-Glitch
d60046d9fb linux 6.0.y: Disable pds and bmq CPU schedulers as Torvic9's rebase is reportedly buggy. We'll enable back when Alfred pushes his own. 2022-10-15 15:06:16 +02:00
Tk-Glitch
2a07409439 linux 6.0.y: misc-additions: Add mm: vmscan: fix extreme overreclaim and swap floods and Bluetooth: fix deadlock for RFCOMM sk state change cherry picks from Arch
Wifi issues were fixed with 6.0.2, thankfully
2022-10-15 15:05:21 +02:00
Tk-Glitch
e801f7735b linux 6.0.y: Update defconfig to 6.0.0-arch1
https://github.com/archlinux/svntogit-packages/blob/packages/linux/trunk/config
2022-10-13 21:28:41 +02:00
Tk-Glitch
de0a0d301e install.sh: Disable timed building for now. Bash 5.2 is broken https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018727 2022-10-11 15:36:30 +02:00
Tk-Glitch
0eda0819ed Switch some wget calls to curl 2022-10-11 15:34:40 +02:00
Ryan
c0f559bdf6 Add Tasktype to 6.0 (#622) 2022-10-10 17:01:38 +02:00
Tk-Glitch
b321569fee Update TT and BORE CPU schedulers patches URLs
Thanks @ptr1337, that'll be easier that way :)
2022-10-10 16:55:28 +02:00
Tk-Glitch
47e774e85f Protect some variable paths
Fixes https://github.com/Frogging-Family/linux-tkg/issues/620
2022-10-10 15:19:02 +02:00
ptr1337
13d7282016 Add bcachefs for 6.0 (#621)
Signed-off-by: Peter Jung <admin@ptr1337.dev>

Signed-off-by: Peter Jung <admin@ptr1337.dev>
2022-10-10 14:50:39 +02:00
Tk-Glitch
0e44660b75 linux 6.0: Bring torvic9's Project C patchset while we wait for Alfred to sync up.
https://gitlab.com/alfredchen/linux-prjc/-/issues/64
2022-10-04 14:41:23 +02:00
Tk-Glitch
53ce492d09 linux 5.15.y: sched/alt: [Sync] sched/core: Always flush pending blk_plug
Following https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=v5.15.61&id=f066e015821cbd697d129befc74f822691321d70

Fixes https://github.com/Frogging-Family/linux-tkg/issues/614
2022-10-04 14:37:31 +02:00
ktheticdev
b4bd161253 fix mkspec patches (#616)
Co-authored-by: nobody <nobody@android>
2022-10-04 14:18:07 +02:00
Dmitry Skvortsov
1e7f8580c2 linux60: Fix Winesync patchset for 6.0-rc6 (#615) 2022-10-04 14:17:11 +02:00
Tk-Glitch
f59fe98754 Fix RPM build with Linux 6.0
Thanks to @AdelKS and @ktheticdev

Fixes https://github.com/Frogging-Family/linux-tkg/pull/613
2022-10-03 20:34:08 +02:00
Tk-Glitch
3d2b1257f1 Set _sub to "0" when _kver_split[2] is null
Fixes release kernel versioning, which is lacking the subversion. Example: kernel 6.0 release was versioned as "6.0." and will now be "6.0.0".
This also unifies versioning as it'll now always be x.x.x format.
2022-10-03 20:30:49 +02:00
Adel Kara Slimane
1d063ca326 RPM build: Fix several issues (#610)
* RPM: fix the script that generates kernel.spec

- Avoids conflicts with official kernels
- Fixes the reported issues with "unversionned obsoletes"
- Works now with akmod-nvidia

Fixes: #609 #513 #375 #339 #375 #173 #271

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

* install.sh: RPM: do not install kernel-headers package

We do not need it to build out-of-tree kernel modules. And that's
all we want actually.

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>

Signed-off-by: Adel KARA SLIMANE <adel.ks@zegrapher.com>
2022-10-02 18:33:33 +02:00
Tk-Glitch
3bfe0af945 Change _timer_freq defaults. While muqss keeps its 100 Hz default just like tt stays at 1000 Hz, CacULE now defaults to 2000 Hz, and all other CPU schedulers will now default to 1000 Hz.
Reportedly, multiple games (mostly Unity based, but not only?) are seeing much higher CPU usage at lower tickrates resulting in degraded performance when CPU bound.
300 Hz and less are the worst offenders, but 500 and 750 Hz are also affected to some extent. CacULE is seemingly less efficient than everything else and needs 2000 Hz to keep up in those scenarios.

OS (kernel, CONFIG_HZ) 	Min 	Average 	Max
Arch Linux (linux, 300 Hz) 	81% 	91% 	96%
Arch Linux (linux-zen, 1000 Hz) 	21% 	25% 	42%
Fedora Linux (linux (Default), 1000 Hz) 	20% 	25% 	53%

1000 Hz isn't an issue on modern systems, but older or very weak CPUs (like Atoms) which aren't used for gaming might want to use lower values. Since our main target audience is gamers, it only makes sense to change the defaults here.
2022-09-30 15:55:55 +02:00
Tk-Glitch
6f76d62c8c linux 6.0: Update MGLRU patchset to v15 (from v14)
https://lore.kernel.org/lkml/20220918080010.2920238-1-yuzhao@google.com/T/#m1a5008481fbbd0f1d5cc0355d69f36e709d08725
2022-09-30 15:25:01 +02:00
Tk-Glitch
322fbbd290 Add URL to pkgdesc
Fixes https://github.com/Frogging-Family/linux-tkg/issues/586
2022-09-30 14:04:54 +02:00
Tk-Glitch
c0e2e485ab Style fixup for previous commit 2022-09-28 14:33:44 +02:00
Jason
063aa59334 Pathing for diffconfig in prepare (#605)
* Pathing for diffconfig in prepare

* Pathing for diffconfig in prepare Arch specific
2022-09-28 14:32:08 +02:00