lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Tue, 23 Aug 2016 13:46:41 +0300
From:   Alexey Dobriyan <adobriyan@...il.com>
To:     Borislav Petkov <bp@...en8.de>
Cc:     x86@...nel.org, Linux Kernel <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] x86: branchless clear_page()

On Tue, Aug 23, 2016 at 12:06 AM, Borislav Petkov <bp@...en8.de> wrote:
> 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.
>
> Any size increase to an allyesconfig vmlinux and increase to
> alternatives application time?
>
> Booting with "debug-alternative" should help.

x86_64 allyesconfig kernel lists whole 56 calls to clear_page().
My usual kernel lists 8.

There are tons copy_from_user/copy_to_user entries and POPCNT
and CLAC/STAC, so I think those several dozens clear pages don't matter.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ