[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20091211212222.GD12628@n2100.arm.linux.org.uk>
Date: Fri, 11 Dec 2009 21:22:22 +0000
From: Russell King - ARM Linux <linux@....linux.org.uk>
To: Mikael Pettersson <mikpe@...uu.se>
Cc: Jamie Iles <jamie.iles@...ochip.com>, Ingo Molnar <mingo@...e.hu>,
linux-kernel@...r.kernel.org, Peter Zijlstra <peterz@...radead.org>
Subject: Re: [PATCH 1/2] perf tools: allow building for ARM
On Fri, Dec 11, 2009 at 12:26:57PM +0100, Mikael Pettersson wrote:
> The correct solution is to invoke a kernel-exported CPU-specific helper
> function in the ARM kernel helper page.
>
> I see a __kuser_memory_barrier entry there which maps to smp_dmb.
That is indeed the correct way to do this - otherwise user programs will
be tied to particular architecture versions, and either an undefined
instruction fault will happen, or worse, the desired effect will not
happen.
--
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