Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: $_cpusched Options Cleanup #369

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

feat: $_cpusched Options Cleanup #369

wants to merge 2 commits into from

Conversation

1Naim
Copy link
Member

@1Naim 1Naim commented Dec 30, 2024

This PR moves around some of the options and also removes some in an attempt to clean it up and make it more clear to the user.
This will require changes in the kernel-manager, so this should be merged in parallel with #366 so there wouldn't be double work involved.

Notably, fd701cc (PKGBUILD: Remove cachyos from $cpusched options) removes the longstanding cachyos option that signals the scheduler used in our default kernel. This is such a short-term vision-esqued patch that I'm not really confident about it, and is such a strong contender on getting this dropped from the PR.

@1Naim 1Naim changed the title feat $_cpusched Options Cleanup feat: $_cpusched Options Cleanup Dec 30, 2024
@1Naim 1Naim force-pushed the feat/cpusched-bits branch from 26dacdc to 923c329 Compare December 30, 2024 15:39
Copy link
Member

@sirlucjan sirlucjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that remove "cachyos" sched is a bad idea, sometimes it was useful (with eevdf, with sched-ext)

@sirlucjan
Copy link
Member

sirlucjan commented Jan 15, 2025

Regarding the reinstatement PDS itself doesn't raise my objections, I haven't used it for years but I know it has its supporters so as an option alongside BMQ it can be.

@1Naim
Copy link
Member Author

1Naim commented Jan 15, 2025

I think that remove "cachyos" sched is a bad idea, sometimes it was useful (with eevdf, with sched-ext)

Right... the idea wasn't well-baked, and I considered removing it from this series too. I think long-term it would benefit us from keeping this option so I'll drop this.

1Naim added 2 commits January 15, 2025 21:02
Like the default and handheld kernel, the hardened kernel differs from the other generic cachyos kernels in that it uses
its own special config[1]. This means that you can't reproduce a "proper" hardened kernel by simply choosing the `hardened`
$_cpusched option.

Instead, we should source the patch directly in the main source array, like what we currently do with the handheld patches.
This will be addressed in the coming 6.13 stable sync, where no functional changes are intended so even if hardened still
stays on 6.12, it should be fine.

[1] https://gitlab.archlinux.org/archlinux/packaging/packages/linux-hardened/-/blob/main/config

Signed-off-by: Eric Naim <[email protected]>
This provides an easier way to use the PDS scheduler along with the CachyOS patchset. While it is very likely that we will
not compile this for our repositories, it can be useful for the users that care about PDS.

Signed-off-by: Eric Naim <[email protected]>
@1Naim 1Naim force-pushed the feat/cpusched-bits branch from 923c329 to 3f2d3f9 Compare January 15, 2025 14:05
Copy link
Member

@sirlucjan sirlucjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and everything works OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants