Re: [PATCH v4 00/13] x86/mm: Add multi-page clearing
From: Dave Hansen
Date: Mon Jun 16 2025 - 11:08:21 EST
On 6/15/25 22:22, Ankur Arora wrote:
> This series adds multi-page clearing for hugepages, improving on the
> current page-at-a-time approach in two ways:
>
> - amortizes the per-page setup cost over a larger extent
> - when using string instructions, exposes the real region size to the
> processor. A processor could use that as a hint to optimize based
> on the full extent size. AMD Zen uarchs, as an example, elide
> allocation of cachelines for regions larger than L3-size.
Have you happened to do any testing outside of 'perf bench'?