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] [day] [month] [year] [list]
Date:	Mon, 09 Jul 2012 00:03:58 -0700
From:	ebiederm@...ssion.com (Eric W. Biederman)
To:	Tejun Heo <tj@...nel.org>
Cc:	"H. Peter Anvin" <hpa@...or.com>,
	hacklu <embedway.linux@...il.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] x86, boot: Optimize the elf header handling.

Tejun Heo <tj@...nel.org> writes:

> Hello, guys.
>
> On Sun, Jul 01, 2012 at 11:37:22AM -0700, H. Peter Anvin wrote:
>> If we don't need it, I think we can use -z max-page-size=4096, but we
>> use the PMD alignment for percpu on x86-64; Tejun, does that apply to
>> the .data..percpu section in the executable as well?
>
> I don't think the .data..percpu section needs 2M alignment.  The
> percpu data section is only used as init template and actual percpu
> addresses always go through offsetting against __per_cpu_offset[] - no
> matter what the vaddrs in the vmlinux are, they get offsetted into 2M
> aligned linear address if necessary.  I think the only alignment
> .data..percpu needs is cacheline alignment for separating its
> subsections.

Thanks.  My basic testing isn't showing any problems.

Of course all that changed was where in the vmlinux file not where
in physical memory the data was loaded, so problems would really
surprise me. 

Eric

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ