fs/filescontrol: add a switch to enable / disable accounting of open fds
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8ND8I -------------------------------- Such switch can only set the accounting of open fds in filescontrol from enable to disable. If it is disabled arealdy, the switch can't enable it. The counter is enabled by default, and it can be disabled by: a. echo 1 > /sys/fs/cgroup/files/files.no_acct b. add "filescontrol.no_acct=1" to boot cmd Signed-off-by:Yu Kuai <yukuai3@huawei.com> Signed-off-by:
Chen Ridong <chenridong@huawei.com>
Loading
Please sign in to comment