Re: [RFC PATCH] sys_membarrier(): system/process-wide memory barrier (x86) (v12)

From: Peter Zijlstra
Date: Tue Mar 17 2015 - 02:41:14 EST


On Mon, Mar 16, 2015 at 10:26:11PM -0400, Steven Rostedt wrote:
> As I recently found out that this_cpu_read/write() is not that nice on
> all architectures,

In fact, they only really work well on x86. Aargh64 seems to have a semi
usable version, but mostly its quite horrible indeed.
--
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/