[PATCH 5.4 0/1] mm: allow a controlled amount of unfairness in the page lock

From: Saeed Mirzamohammadi
Date: Mon Aug 21 2023 - 18:26:32 EST


We observed a 35% of regression running phoronix pts/ramspeed and also 16%
with unixbench. Regression is caused by the following commit:
dd0f194cfeb5 | mm: rewrite wait_on_page_bit_common() logic

Backporting this fixes the regression (this is already in 5.9+):
- 5ef64cc8987a mm: allow a controlled amount of unfairness in the page lock

Linus Torvalds (1):
mm: allow a controlled amount of unfairness in the page lock

include/linux/mm.h | 2 +
include/linux/wait.h | 2 +
kernel/sysctl.c | 8 +++
mm/filemap.c | 160 ++++++++++++++++++++++++++++++++++---------
4 files changed, 141 insertions(+), 31 deletions(-)

--
2.41.0