From: Paolo Bonzini Date: Mon, 1 Mar 2010 18:52:45 +0000 (-0500) Subject: define sync_core for x86 PIC X-Git-Tag: v0.4.2~17 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=dac93f5961f305a3bd08cd82f649a7a4dcf6e3eb;hp=dac93f5961f305a3bd08cd82f649a7a4dcf6e3eb;p=urcu.git define sync_core for x86 PIC Pushing/popping the reserved ebx register is surely less expensive than a memory barrier. Note that since ebx is a callee-save register, this is even safe for signals (i.e. it would be safe even if we needed the value that cpuid puts in %%ebx). Signed-off-by: Paolo Bonzini Signed-off-by: Mathieu Desnoyers ---