Re: [tip:x86/mm] percpu: Introduce a read-mostly percpu API

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Shaohua Li
Date: Wednesday, October 20, 2010 - 6:38 pm

Hi hpa,
On Thu, Oct 21, 2010 at 07:06:59AM +0800, tip-bot for Shaohua Li wrote:
move it after page-aligned section can't guarantee to avoid cache false sharing.
we need:
. = ALIGN(CACHE_LINE_SIZE);
*(.data..percpu..readmostly)
. = ALIGN(CACHE_LINE_SIZE);
To make sure before/after readmostly section doesn't share cache line with
others. The headcache is some arch need L1_CACHE_SIZE and others need
(1 << INTERNODE_CACHE_SHIFT). We need change all ARCHs to make this happen.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2]percpu: introduce read mostly percpu API, Shaohua Li, (Tue Oct 19, 8:07 pm)
Re: [PATCH 1/2]percpu: introduce read mostly percpu API, Eric Dumazet, (Tue Oct 19, 10:18 pm)
Re: [PATCH 1/2]percpu: introduce read mostly percpu API, H. Peter Anvin, (Tue Oct 19, 11:00 pm)
Re: [PATCH 1/2]percpu: introduce read mostly percpu API, Eric Dumazet, (Wed Oct 20, 12:53 am)
Re: [PATCH 1/2]percpu: introduce read mostly percpu API, H. Peter Anvin, (Wed Oct 20, 2:33 pm)
Re: [PATCH 1/2]percpu: introduce read mostly percpu API, H. Peter Anvin, (Wed Oct 20, 2:38 pm)
Re: [PATCH 1/2]percpu: introduce read mostly percpu API, H. Peter Anvin, (Wed Oct 20, 2:42 pm)
[tip:x86/mm] percpu: Introduce a read-mostly percpu API, tip-bot for Shaohua Li, (Wed Oct 20, 4:06 pm)
Re: [tip:x86/mm] percpu: Introduce a read-mostly percpu API, Shaohua Li, (Wed Oct 20, 6:38 pm)
Re: [tip:x86/mm] percpu: Introduce a read-mostly percpu API, H. Peter Anvin, (Wed Oct 20, 10:54 pm)
Re: [tip:x86/mm] percpu: Introduce a read-mostly percpu API, H. Peter Anvin, (Wed Oct 20, 11:09 pm)
Re: [tip:x86/mm] percpu: Introduce a read-mostly percpu API, H. Peter Anvin, (Wed Oct 20, 11:10 pm)
Re: [tip:x86/mm] percpu: Introduce a read-mostly percpu API, H. Peter Anvin, (Wed Oct 20, 11:54 pm)
[tip:x86/mm] x86-32, percpu: Correct the ordering of the p ..., tip-bot for H. Peter ..., (Thu Oct 21, 12:40 am)