cgroups: Resource controller for open files
maillist inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I8ND8I -------------------------------- Add a lockless resource controller for limiting the number of open file handles. This allows us to catch misbehaving processes and return EMFILE instead of ENOMEM for kernel memory limits. Original link: https://lwn.net/Articles/604129/.After introduced https://gitlab.indel.ch/thirdparty/linux-indel/commit /5b1efc02. All memory accounting and limiting has been switched over to the lockless page counters. So we convert original resource counters to lockless page counters. Signed-off-by:Binder Makin <merimus@google.com> Conflicts: Merge OLK-5.10 fix patch: e2b24a5a Merge OLK-5.10 fix patch: 7e485fec Merge OLK-5.10 fix patch: a466f5dd Merge OLK-5.10 fix patch: 338fc539 Merge OLK-5.10 fix patch: 1951d562 Merge OLK-5.10 fix patch: 0b732977 [Ridong: remove #ifdefs at the call sites and drop EXPORT_SYMBOL] Signed-off-by:
Chen Ridong <chenridong@huawei.com>
Loading
Please sign in to comment