]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "memcg: enable accounting for file lock caches"
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Sep 2021 18:21:48 +0000 (11:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Sep 2021 18:21:48 +0000 (11:21 -0700)
commit3d91c8e15efe8479a2c9a3f6e9b3364eae17c1c8
tree5193c11e65ce266becc413c3eba6207473d485bd
parent06559c7f1be87a80a6ba75c46fa18976bc061424
Revert "memcg: enable accounting for file lock caches"

This reverts commit 4aa555fff2f291df96032d6accc5b7b43c49b332.

The kernel test robot reports a sizeable performance regression for this
commit, and while it clearly does the rigth thing in theory, we'll need
to look at just how to avoid or minimize the performance overhead of the
memcg accounting.

People already have suggestions on how to do that, but it's "future
work".

So revert it for now.

Link: https://lore.kernel.org/lkml/20210907150757.GE17617@xsang-OptiPlex-9020/
Acked-by: Jens Axboe <axboe@kernel.dk>
Acked-by: Shakeel Butt <shakeelb@google.com>
Acked-by: Roman Gushchin <guro@fb.com>
Cc: Tejun Heo <tj@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/locks.c