]> git.baikalelectronics.ru Git - kernel.git/commit
NFS: Charge open/lock file contexts to kmemcg
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 29 Jan 2022 18:04:10 +0000 (13:04 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Fri, 25 Feb 2022 23:50:12 +0000 (18:50 -0500)
commit422e75d0c2177cb496292cabbf785dbbf9799f91
tree12eda63f9fb670032039fc52693f9242707ab5d0
parentce86bffcab9a0fe3a655d4c889c3499244c9c3a1
NFS: Charge open/lock file contexts to kmemcg

Allow kmemcg to limit the number of open/lock file contexts, in the same
way that it limits the parent file descriptors.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/dir.c
fs/nfs/inode.c