Re: [PATCH] x86: branchless clear_page()
From: Alexey Dobriyan
Date: Mon Aug 22 2016 - 16:54:57 EST
On Mon, Aug 22, 2016 at 11:52:29PM +0300, Alexey Dobriyan wrote:
> Apply alternatives at the call site instead of function body.
> Save branch per clean page.
>
> Bonus: tell gcc to not flush whole shebang of registers,
> just RDI, RAX, RCX.
Rename individual clear_page() functions closer to implementation
details (_c_e suffix sucks).