Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8252957

Wrong comment in CgroupV1Subsystem::cpu_quota

XMLWordPrintable

    • b15
    • linux

        It says this for CgroupV1Subsystem::cpu_quota:

        /* cpu_quota
         *
         * Return the number of milliseconds per period
         * process is guaranteed to run.
         *
         * return:
         * quota time in milliseconds
         * -1 for no quota
         * OSCONTAINER_ERROR for not supported
         */

        It's actually microseconds, not millisecods.

              sgehwolf Severin Gehwolf
              sgehwolf Severin Gehwolf
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: