commit | a5e112e6424adb77d953eac20e6936b952fd6b32 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Mon May 13 12:37:17 2019 -0700 |
committer | Tejun Heo <tj@kernel.org> | Fri May 31 11:48:40 2019 -0700 |
tree | f338dc9c274907e5d2321f9e7e4a8608fdb202ea | |
parent | c03cd7738a83b13739f00546166969342c8ff014 [diff] |
cgroup: add cgroup_parse_float() cgroup already uses floating point for percent[ile] numbers and there are several controllers which want to take them as input. Add a generic parse helper to handle inputs. Update the interface convention documentation about the use of percentage numbers. While at it, also clarify the default time unit. Signed-off-by: Tejun Heo <tj@kernel.org>