Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1468044

Re: [PATCH] x86: branchless clear_page()

From Alexey Dobriyan <adobriyan@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] x86: branchless clear_page()
Date 2016-08-22 23:00 +0200
Message-ID <s94u6-2Ol-25@gated-at.bofh.it> (permalink)
References <s94u6-2Ol-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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).

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] x86: branchless clear_page() Alexey Dobriyan <adobriyan@gmail.com> - 2016-08-22 23:00 +0200

csiph-web