Re: [patch 2/3] add new macros to make percpu readmostly sectioncorrectly align

From: Tejun Heo
Date: Mon Dec 13 2010 - 04:46:55 EST


Hello,

On 12/13/2010 01:41 AM, Shaohua Li wrote:
>> 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.

Can't we get around that with some ifdefferies? And even if we'll
have to change lds on every arch, I think we better do it that way.
It's not like the problem exists only on x86, right?

Thanks.

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