DragonFly kernel List (threaded) for 2011-01
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
i386 version of cpu_sfence()
Hi all,
i386 version of cpu_sfence(), it is just asm volatile ("" :::"memory")
According to the instruction set, sfence should also ensures that the
"global visibility" (i.e. empty CPU store buffer) of the stores before
sfence.
So should we do the same as cpu_mfence(), i.e. use a locked memory access?
Best Regards,
sephe
--
Tomorrow Will Never Die
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]