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

From: Tejun Heo
Date: Fri Dec 10 2010 - 10:14:47 EST


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@xxxxxxxxx>

Why add another set of macros? Can't you just make the default one
aligned?

--
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/