On Thu, 17 Jun 2021 12:27:25 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:

> Hello, please review this PR; it extend the OSContainer API in order to also 
> support the pids controller of cgroups.
> 
> I noticed that unlike the other controllers "cpu", "cpuset", "cpuacct", 
> "memory"  on some older Linux distros (SLES 12.1, RHEL 7.1) the pids 
> controller might not be there (or not fully supported) so it was added as 
> optional  , see the coding
> 
> 
>   if (!cg_infos[PIDS_IDX]._data_complete) {
>     log_debug(os, container)("Optional cgroup v1 pids subsystem not found");
>     // keep the other controller info, pids is optional
>   }

This pull request has now been integrated.

Changeset: 089e83bf
Author:    Matthias Baesken <mbaes...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/089e83bf1bf6f28cec8dd30288720b6d066301f0
Stats:     555 lines in 22 files changed: 476 ins; 28 del; 51 mod

8266490: Extend the OSContainer API to support the pids controller of cgroups

Reviewed-by: sgehwolf, lucy

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

PR: https://git.openjdk.java.net/jdk/pull/4518

Reply via email to