-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
support cgroup v1 mounted with noprefix #4513
base: main
Are you sure you want to change the base?
Conversation
8a4edae
to
da51e85
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general, cgroup v1 is being phased out slowly, and we'd rather not add more functionality in this area.
I'm pretty sure Android is going to switch to cgroup v2 soon, if not yet.
I see that even the latest and greatest Android 15 still uses cgroup v1 for a few specific controllers (although there are only 3 that I see on my phone, and only cpuset is mounted with Yet, I see there's cgroup2 mounted at /sys/fs/cgroup. Why not use it, it should be pretty standard. |
Usually Android use older kernels. The support for cgroup v2 is limited there. I've two phones with Android 13 and 14 and both are on kernel 4.19. Android was updated a few times but kernel version stay the same.
I tried that approach too. It doesn't work since it would require newer kernel which is not available for many devices. |
7983199
to
9e8dc7b
Compare
Signed-off-by: Tomasz Duda <[email protected]>
Android mounts cgroup v1 with noprefix. Related to #4443