diff options
author | Wang Long <[email protected]> | 2019-12-18 20:38:18 +0800 |
---|---|---|
committer | Peter Zijlstra <[email protected]> | 2020-01-17 10:19:22 +0100 |
commit | 3d817689a62cf71bbb290af18cd26cf9764f38fe (patch) | |
tree | 649fe8b3effdf91b818a9cd6bdc23634f6e0a8e1 /scripts/bpf_helpers_doc.py | |
parent | 4c58f57fa6e93318a0899f70d8b99fe6bac22ce8 (diff) |
sched/psi: create /proc/pressure and /proc/pressure/{io|memory|cpu} only when psi enabled
when CONFIG_PSI_DEFAULT_DISABLED set to N or the command line set psi=0,
I think we should not create /proc/pressure and
/proc/pressure/{io|memory|cpu}.
In the future, user maybe determine whether the psi feature is enabled by
checking the existence of the /proc/pressure dir or
/proc/pressure/{io|memory|cpu} files.
Signed-off-by: Wang Long <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Acked-by: Johannes Weiner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions