RFR: 8253435: Cgroup: 'stomping of _mount_path' crash if manually mounted cpusets exist

Bob Vandette bob.vandette at oracle.com
Wed Sep 23 12:05:11 UTC 2020



> On Sep 23, 2020, at 5:34 AM, Severin Gehwolf <sgehwolf at openjdk.java.net> wrote:
> 
> On Wed, 23 Sep 2020 09:15:38 GMT, Volker Simonis <simonis at openjdk.org> wrote:
> 
>> So what about the following solution:
>> 
>>    * record the mount point for `memory`, `cpu` and `cpuacct`
>>    * when hitting `cpuset` and its mountpoint is different from the recorded one ignore it. If there's no recorded mount
>>      prefix ignore the entry if its mount prefix is not `/sys/fs/cgroup`.
> 
> Sounds sensible to me.

I’m ok with that approach as well.

Bob.

> 
> -------------
> 
> PR: https://git.openjdk.java.net/jdk/pull/295



More information about the hotspot-runtime-dev mailing list