[PATCH v2] arm64: clear_page[s] using memset

Catalin Marinas catalin.marinas at arm.com
Tue Oct 13 10:05:20 PDT 2026


On Wed, 16 Sep 2026 12:03:56 +0200, Linus Walleij wrote:
> There is no need to try to second-guess the compiler when
> clearing memory. Just call memset() like everyone else.
> 
> Since memset() already has an architecture-local MOPS
> optimization, we do not need to do anything else to preserve
> the MOPS optimization.
> 
> [...]

Applied to arm64 (for-next/misc), thanks!

[1/1] arm64: clear_page[s] using memset
      https://git.kernel.org/arm64/c/7fa0d9b2ec07



More information about the linux-arm-kernel mailing list