]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "memcg: enable accounting for pollfd and select bits arrays"
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Sep 2021 18:26:23 +0000 (11:26 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 7 Sep 2021 18:26:23 +0000 (11:26 -0700)
commitb1ad7f3c9f3149e2e6f55e7dff1935fa5e7c4f92
tree3e977aa499ed186995f09e5756148069d6bc55a6
parentfbe1126c7190908d53123671127be937ae88650d
Revert "memcg: enable accounting for pollfd and select bits arrays"

This reverts commit 16a1dad5b53cac5e255ff2347bfa7d8d85b6ed5b.

Just like with the memcg lock accounting, 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.

[ Note: the first link below is for this same commit but a different
  commit ID, because it's the kernel test robot ended up noticing it in
  Andrew Morton's patch queue ]

Link: https://lore.kernel.org/lkml/20210905132732.GC15026@xsang-OptiPlex-9020/
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/select.c