Re: [uml-devel] [Uclinux-dist-devel] [RFC PATCH] percpu: always align percpu output section to PAGE_SIZE

2011-03-24 Thread Mike Frysinger
On Tue, Oct 26, 2010 at 10:06, Tejun Heo wrote: > The linker script macros PERCPU_VADDR() and PERCPU() are used to > define this output section and the latter takes @align parameter. > Several architectures are using @align smaller than PAGE_SIZE breaking > percpu memory alignment. hmm, i just pus

Re: [uml-devel] [Uclinux-dist-devel] [RFC PATCH] percpu: always align percpu output section to PAGE_SIZE

2011-03-24 Thread Mike Frysinger
On Thu, Mar 24, 2011 at 4:51 AM, Tejun Heo wrote: > On Thu, Mar 24, 2011 at 09:25:23AM +0100, Tejun Heo wrote: >> On Thu, Mar 24, 2011 at 02:46:01AM -0400, Mike Frysinger wrote: >> > On Tue, Oct 26, 2010 at 10:06, Tejun Heo wrote: >> > > The linker script macros PERCPU_VADDR() and PERCPU() are used

Re: [uml-devel] [Uclinux-dist-devel] [RFC PATCH] percpu: always align percpu output section to PAGE_SIZE

2011-03-24 Thread Tejun Heo
Hello, On Thu, Mar 24, 2011 at 02:46:01AM -0400, Mike Frysinger wrote: > On Tue, Oct 26, 2010 at 10:06, Tejun Heo wrote: > > The linker script macros PERCPU_VADDR() and PERCPU() are used to > > define this output section and the latter takes @align parameter. > > Several architectures are using @a

Re: [uml-devel] [Uclinux-dist-devel] [RFC PATCH] percpu: always align percpu output section to PAGE_SIZE

2011-03-24 Thread Tejun Heo
On Thu, Mar 24, 2011 at 09:25:23AM +0100, Tejun Heo wrote: > Hello, > > On Thu, Mar 24, 2011 at 02:46:01AM -0400, Mike Frysinger wrote: > > On Tue, Oct 26, 2010 at 10:06, Tejun Heo wrote: > > > The linker script macros PERCPU_VADDR() and PERCPU() are used to > > > define this output section and th

[uml-devel] [PATCH UPDATED] percpu: always align percpu output section to PAGE_SIZE

2011-03-24 Thread Tejun Heo
Percpu allocator honors alignment request upto PAGE_SIZE and both the percpu addresses in the percpu address space and the translated kernel addresses should be aligned accordingly. The calculation of the former depends on the alignment of percpu output section in the kernel image. The linker scr

Re: [uml-devel] [Uclinux-dist-devel] [RFC PATCH] percpu: always align percpu output section to PAGE_SIZE

2011-03-24 Thread Tejun Heo
On Thu, Mar 24, 2011 at 09:46:53AM -0400, Mike Frysinger wrote: > Linus has already pulled it Thanks. Patch queued for 2.6.40. -- tejun -- Enable your software for Intel(R) Active Management Technology to meet the grow