Skip to content
Commit 8cfeb385 authored by Odin Ugedal's avatar Odin Ugedal Committed by Tejun Heo
Browse files

docs cgroups: add another example size for hugetlb



Add another example to clarify that HugePages smaller than 1MB will
be displayed using "KB", with an uppercased K (eg. 20KB), and not the
normal SI prefix kilo (small k).

Because of a misunderstanding/copy-paste error inside runc
(see https://github.com/opencontainers/runc/pull/2065), it tried
accessing the cgroup control file of a 64kB HugePage using
"hugetlb.64kB._____" instead of the correct "hugetlb.64KB._____".

Adding a new example will make it clear how sizes smaller than 1MB are
handled.

Signed-off-by: default avatarOdin Ugedal <odin@ugedal.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 18fa84a2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment