]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "mm: align larger anonymous mappings on THP boundaries"
authorLinus Torvalds <torvalds@linux-foundation.org>
Sun, 4 Dec 2022 20:51:59 +0000 (12:51 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 4 Dec 2022 20:51:59 +0000 (12:51 -0800)
commit5e0740e998651e57476dc37dbc8fc458c81d434b
tree3e5e9a8d7f2c84233b65fc9cc88672d536425994
parent223e28d4e3f11ec1d673a31e32cffd6e38d23b5c
Revert "mm: align larger anonymous mappings on THP boundaries"

This reverts commit 0c740325a35c3eeae9d65871ebe4eef0d14c196d.

It has been reported to cause huge performance regressions on some loads
(will-it-scale.per_process_ops, but also building the kernel with
clang).

The commit did speed up gcc builds by a small amount, so it's not an
unambiguous regression, but until the big regressions are understood,
let's revert it.

Reported-by: kernel test robot <yujie.liu@intel.com>
Link: https://lore.kernel.org/r/202210181535.7144dd15-yujie.liu@intel.com
Reported-by: Nathan Chancellor <nathan@kernel.org>
Link: https://lore.kernel.org/lkml/Y1DNQaoPWxE%2BrGce@dev-arch.thelio-3990X/
Cc: Huang, Ying <ying.huang@intel.com>
Cc: Rik van Riel <riel@surriel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Yang Shi <shy828301@gmail.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c