Re: [PATCH 2/2] x86, boot: Optimize the elf header handling.

2012-07-09 Thread Eric W. Biederman
Tejun Heo 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

Re: [PATCH 2/2] x86, boot: Optimize the elf header handling.

2012-07-09 Thread Eric W. Biederman
"H. Peter Anvin" writes: > On 07/01/2012 01:40 PM, Eric W. Biederman wrote: >> >> So I have tracked down part of the crazyness. >> CONFIG_RODATA actually uses 2MB alignment, making >> -z max_page_size=4096 a bit questionable. >> > > Questionable how? It's not really like it matters since

Re: [PATCH 2/2] x86, boot: Optimize the elf header handling.

2012-07-09 Thread Eric W. Biederman
H. Peter Anvin h...@zytor.com writes: On 07/01/2012 01:40 PM, Eric W. Biederman wrote: So I have tracked down part of the crazyness. CONFIG_RODATA actually uses 2MB alignment, making -z max_page_size=4096 a bit questionable. Questionable how? It's not really like it matters since we're

Re: [PATCH 2/2] x86, boot: Optimize the elf header handling.

2012-07-09 Thread Eric W. Biederman
Tejun Heo t...@kernel.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