On Wed, 21 Feb 2024 13:20:20 GMT, Severin Gehwolf <sgehw...@openjdk.org> wrote:

> One goal of this patch would be to unify how this works for cgroup v1 and 
> cgroup v2. 

That is not much possible anyway as currently cgroup2 has to traverse the 
directories while after the kernel patch gets accepted it will be faster using 
the new kernel interface.

> Point 1.) seems orthogonal to this patch, but I'm not sure I understand what 
> it's about to begin with...

With current JDK if you set limits 1GB for memory:foo, 2GB for memory:foo/bar 
and you run a process in memory:foo/bar JDK will think the limit is 2GB despite 
the kernel will enforce a limit of 1GB.

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

PR Comment: https://git.openjdk.org/jdk/pull/17198#issuecomment-1956670590

Reply via email to