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]
Message-ID: <20160209135344.GA26641@gmail.com>
Date:	Tue, 9 Feb 2016 14:53:44 +0100
From:	Ingo Molnar <mingo@...nel.org>
To:	Alexander Kuleshov <kuleshovmail@...il.com>
Cc:	Ingo Molnar <mingo@...hat.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	"H . Peter Anvin" <hpa@...or.com>,
	Andrey Ryabinin <ryabinin.a.a@...il.com>,
	Andy Lutomirski <luto@...nel.org>,
	Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
	Alexander Popov <alpopov@...ecurity.com>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH] x86/head64: use pointer type in sizeof


* Alexander Kuleshov <kuleshovmail@...il.com> wrote:

> We changed loops with memset in the 5e9ebbd87a99 commit (x86/boot:
> Micro-optimize reset_early_page_tables()). The base for size of
> memset was size of pud_p/pmd_p, but the they are actually
> represented as pointers, although they have the same sizes.

That's rather confused. Also the title is confused:

  x86/head64: use pointer type in sizeof

what the fix does it to _not_ use a pointer type.

I fixed the title and the changelog, but you really need to be more careful...

Thanks,

	Ingo

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ