Integrated: 8252957: Wrong comment in CgroupV1Subsystem::cpu_quota

Severin Gehwolf sgehwolf at openjdk.java.net
Wed Sep 9 13:55:41 UTC 2020


On Wed, 9 Sep 2020 07:34:50 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 51660946
Author:    Severin Gehwolf <sgehwolf at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/51660946
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.

Reviewed-by: shade, hseigel

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

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


More information about the hotspot-runtime-dev mailing list