RFR: 8349988: Change cgroup version detection logic to not depend on /proc/cgroups [v4]

Sergey Chernyshev schernyshev at openjdk.org
Tue Oct 14 08:30:05 UTC 2025


On Thu, 8 May 2025 08:32:01 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

>>> @jerboaa @fitzsim Does the current mainline code handles mixed configuration where in some controllers are v1 and others v2? For example cpu controller is mounted as v1 while memory controller as v2. If yes, does this patch continue to support such configuration?
>> 
>> The current code does not allow mixed configuration for "relevant" controllers (essentially cpu and memory). That is, they ought to be v1 or v2. In the hybrid case (systemd running on unified), it's considered v1. I don't think this patch changes any of it.
>
>> @jerboaa @fitzsim, is there any plan to backport this fix (to 21)?
> 
> Eventually yes. But this change hasn't seen a lot of real-world exposure yet. It would be good to have that before attempting a backport.

Hi @jerboaa,
We are recieving multiple customer reports on the issue with 6.14 HWE kernels.
I would like to backport this to 21.0.10 & 17.0.18. Do you think it could be safe for the upcoming January update release?

@fitzsim Please let me know if you plan to work on the backports.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23811#issuecomment-3400690893


More information about the hotspot-dev mailing list