diff options
author | Chen Ridong <[email protected]> | 2024-07-04 14:01:19 +0000 |
---|---|---|
committer | Tejun Heo <[email protected]> | 2024-07-05 08:32:08 -1000 |
commit | b824766504e49f3fdcbb8c722e70996a78c3636e (patch) | |
tree | 34fb08f86e4d03db6fcea66d0c46157557383301 /lib/memory-notifier-error-inject.c | |
parent | 1028f391d5f9d4248e2f49193e6de2516ad630f8 (diff) |
cgroup/rstat: add force idle show helper
In the function cgroup_base_stat_cputime_show, there are five
instances of #ifdef, which makes the code not concise.
To address this, add the function cgroup_force_idle_show
to make the code more succinct.
Signed-off-by: Chen Ridong <[email protected]>
Signed-off-by: Tejun Heo <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions