Messages in this thread | | | Subject | Re: [patch 2/3] add new macros to make percpu readmostly section correctly align | From | Shaohua Li <> | Date | Mon, 13 Dec 2010 08:41:26 +0800 |
| |
On Fri, 2010-12-10 at 23:14 +0800, Tejun Heo wrote: > Hello, > > On 12/02/2010 03:02 AM, Shaohua Li wrote: > > percpu readmostly section should start and end at address cachline aligned. > > Idealy we should change PERCPU_VADDR/PERCPU, but I can't change all arch code, so > > I add new macros for x86. > > > > Signed-off-by: Shaohua Li <shaohua.li@intel.com> > > Why add another set of macros? Can't you just make the default one > aligned? how to do it without changing all arch code? There isn't cache line size macro for all arch which could be used in vmlinux.lds.h, IIRC.
Thanks, Shaohua
| |