[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20101228111332.GE488@htj.dyndns.org>
Date: Tue, 28 Dec 2010 12:13:32 +0100
From: Tejun Heo <htejun@...il.com>
To: Shaohua Li <shaohua.li@...el.com>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Sam Ravnborg <sam@...nborg.org>,
lkml <linux-kernel@...r.kernel.org>,
"hpa@...or.com" <hpa@...or.com>,
"eric.dumazet@...il.com" <eric.dumazet@...il.com>
Subject: Re: [patch 2/3] add new macros to make percpu readmostly section
correctly align
Hello,
On Tue, Dec 28, 2010 at 08:26:57AM +0800, Shaohua Li wrote:
> Subject: make readmostly section correctly align
>
> readmostly section should end at cache line aligned address, otherwise the last
> several data might share cachline with other data and make the readmostly data
> still have cache bounce.
> For example, in ia64, secpath_cachep is the last readmostly data, and it shares
> cacheline with init_uts_ns.
> a000000100e80480 d secpath_cachep
> a000000100e80488 D init_uts_ns
>
> Signed-off-by: Shaohua Li <shaohua.li@...el.com>
Yeap, this looks good to me.
Acked-by: Tejun Heo <tj@...nel.org>
I can route this through percpu tree but think -mm is the better fit.
Andrew, can you please take this one?
Thank you.
--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists