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:   Fri, 21 Sep 2018 13:32:12 -0700
From:   Dave Hansen <dave.hansen@...el.com>
To:     Thomas Gleixner <tglx@...utronix.de>,
        LKML <linux-kernel@...r.kernel.org>
Cc:     x86@...nel.org, Peter Zijlstra <peterz@...radead.org>,
        Bin Yang <bin.yang@...el.com>,
        Mark Gross <mark.gross@...el.com>
Subject: Re: [patch V3 11/11] x86/mm/cpa: Avoid the 4k pages check completely

On 09/17/2018 07:29 AM, Thomas Gleixner wrote:
> +	 * There used to be a 4k wise evaluation trying really hard to
> +	 * preserve the large pages, but experimentation has shown, that this
> +	 * does not help at all. There might be corner cases which would
> +	 * preserve one large page occasionally, but it's really not worth the
> +	 * extra code and cycles for the common case.

My only concern with this is that if this goes bad, it will be silently
bad and we'll just have an unnecessarily fractured direct map.

But, writing code to go verify the page tables and make sure they're
sane is a task for another day.

Reviewed-by: Dave Hansen <dave.hansen@...el.com>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ