Reapply "memcg: enable accounting for file lock caches"
This reverts commit 3754707bcc3e190e5dadc978d172b61e809cb3bd.
There was a long debate about the performance regression this patch caused. In the artificial performance tests, locking and unlocking the file constantly, upstream saw a 35% regression. However, Performance QE conducted more realistic performance tests with popular databases and Phoronix test suite, and observed no relevant performance impact.
JIRA: https://issues.redhat.com/browse/RHEL-8487
CVE: CVE-2022-0480
Upstream Status: RHEL-only
Signed-off-by: Wander Lairson Costa wander@redhat.com
Edited by Wander Lairson Costa