[jdk11u-dev] Integrated: 8252957: Wrong comment in CgroupV1Subsystem::cpu_quota

Severin Gehwolf sgehwolf at openjdk.java.net
Mon Mar 28 09:27:39 UTC 2022


On Fri, 25 Mar 2022 17:07:19 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Comment only change so that correct units are documented. Makes sense now since we've carried it over via the cgroups v2 backport. Low risk, comment only.

This pull request has now been integrated.

Changeset: 27b388c6
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.java.net/jdk11u-dev/commit/27b388c60c6df5e47d204fac224b80b49fd0cf83
Stats:     4 lines in 2 files changed: 0 ins; 0 del; 4 mod

8252957: Wrong comment in CgroupV1Subsystem::cpu_quota

The comment is wrong. The 'us' in 'cpu.cfs_quota_us' stands for
microseconds, which is read verbatim. Similarly for cgroups v2
all units in 'cpu.max' are in microseconds.

Backport-of: 5166094647f8bfae32ef4bbde2e40f68e073b595

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

PR: https://git.openjdk.java.net/jdk11u-dev/pull/949


More information about the jdk-updates-dev mailing list