[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090422091226.GA18226@elte.hu>
Date: Wed, 22 Apr 2009 11:12:26 +0200
From: Ingo Molnar <mingo@...e.hu>
To: David Howells <dhowells@...hat.com>
Cc: Jeremy Fitzhardinge <jeremy@...p.org>,
Thomas Gleixner <tglx@...utronix.de>,
"H. Peter Anvin" <hpa@...or.com>,
Linus Torvalds <torvalds@...ux-foundation.org>, tj@...nel.org,
akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
Rusty Russell <rusty@...tcorp.com.au>,
Fenghua Yu <fenghua.yu@...el.com>,
Suresh Siddha <suresh.b.siddha@...el.com>
Subject: Re: [PATCH] FRV: Fix the section attribute on UP DECLARE_PER_CPU()
* David Howells <dhowells@...hat.com> wrote:
> Any idea what this:
>
> #define DEFINE_PER_CPU_SHARED_ALIGNED(type, name)
>
> is intended for?
it is a mixed type of percpu variable: which is per CPU but which
can (and will) also be accessed from other CPUs. This way we
basically cache-line align it and make sure nearby percpu variables
dont get caught up in any cacheline bounces. It was introduced a
couple of years ago.
Ingo
--
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