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

Enable CONFIG_PSI in the default kernel #11147

Open
K900 opened this issue Feb 10, 2024 · 2 comments
Open

Enable CONFIG_PSI in the default kernel #11147

K900 opened this issue Feb 10, 2024 · 2 comments
Labels

Comments

@K900
Copy link

K900 commented Feb 10, 2024

Is your feature request related to a problem? Please describe.
The current default WSL kernel is built with CONFIG_PSI unset, which means the process stall information metrics are not collected or exposed, so things that rely on those (notably systemd-oomd, a userspace early-OOM service) do not work.

Describe the solution you'd like
CONFIG_PSI=y is enabled in the kernel.

Describe alternatives you've considered
Leave things as they are.

Additional context
While systemd-oomd may seem unhelpful, as the VM's memory is already limited, it does help prevent the VM itself from locking up when under heavy memory pressure, forcing the user to kill the entire VM and possibly lose data.

@K900 K900 added the feature label Feb 10, 2024
@soredake
Copy link

@kelsey-steele Hi! I've seen that you've fixed #8302, can you look at this issue too, please?

@wrightleft
Copy link

This would really help with compiling in WSL2 where I keep running out of memory and the whole WSL2 system comes to a halt.

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

No branches or pull requests

3 participants