Frogging-Family / linux-tkg

linux-tkg custom kernels
GNU General Public License v2.0
1.25k stars 157 forks source link

ECHO CPU Scheduler #913

Closed road2react closed 3 months ago

road2react commented 3 months ago

Another CPU scheduler has appeared: https://github.com/hamadmarri/ECHO-CPU-Scheduler

I tried applying this in ".mypatch" file to 6.8.2 but am getting a conflict:

patching file include/linux/sched.h
patching file init/Kconfig
Hunk #1 succeeded at 130 with fuzz 1.
Hunk #2 succeeded at 1046 (offset 32 lines).
Hunk #3 succeeded at 1336 (offset 48 lines).
patching file kernel/Kconfig.hz
Hunk #1 FAILED at 5.
Hunk #2 succeeded at 54 with fuzz 2 (offset 14 lines).
Hunk #3 FAILED at 60.
2 out of 3 hunks FAILED -- saving rejects to file kernel/Kconfig.hz.rej
patching file kernel/Kconfig.preempt
patching file kernel/sched/Makefile
patching file kernel/sched/balancer.h
patching file kernel/sched/bs.c
patching file kernel/sched/core.c
patching file kernel/sched/debug.c
patching file kernel/sched/fair_debug.h
patching file kernel/sched/fair_dep_funcs.h
patching file kernel/sched/fair_numa.h
patching file kernel/sched/idle.c
patching file kernel/sched/nohz.h
patching file kernel/sched/sched.h
road2react commented 3 months ago

Compiled successfully by removing all changes to kernel/Kconfig.hz in patchfile

ptr1337 commented 3 months ago

Compiled successfully by removing all changes to kernel/Kconfig.hz in patchfile

You should not remove these, since ECHO is intended to run 666 Hz. Maybe just remove from tkg the 500 Hz entry and it should work.

Tk-Glitch commented 3 months ago

Added with https://github.com/Frogging-Family/linux-tkg/commit/f6c186cc851ca300c0af54eb3cea8f8c171727c5