Re: [PATCH][next] mm/mincore: improve performance by adding an unlikely hint
From: Andrew Morton
Date: Tue Feb 18 2025 - 19:08:50 EST
On Tue, 18 Feb 2025 14:16:20 +0000 "Colin King (gmail)" <colin.i.king@xxxxxxxxx> wrote:
> >> Improvement was from ~970 down to 963 ns, so small ~0.7% improvement.
> >>
> >
> > It actually doesn't change the generated code:
>
> I've compare the generated x86 object code using gcc 14.2.1 20240912
> (Fedora 41) and 14.2.0 (Debian 14.2.0-17), 14.2.1 20250211 (Clear Linux)
> and I get differences in the generated object code comparing old and
> new, and the improvement on ClearLinux is more significant too because
> it uses -O3. So I'm confident the change is generating improved object code.
I was using gcc-13.2.0.
Please resend, with a Matthew-friendly changelog?