docs cgroups: add another example size for hugetlb
authorOdin Ugedal <odin@ugedal.com>
Wed, 29 May 2019 22:24:25 +0000 (00:24 +0200)
committerTejun Heo <tj@kernel.org>
Thu, 30 May 2019 21:02:43 +0000 (14:02 -0700)
commit8cfeb385e9ebda784dccd447fe0f784464ca6ee1
tree04b7457cfed1b48ae86dcb09447e5f88f40ccea6
parent18fa84a2db0e15b02baa5d94bdb5bd509175d2f6
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: Odin Ugedal <odin@ugedal.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Documentation/cgroup-v1/hugetlb.txt