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
討論串 (同標題文章)
完整討論串 (本文為第 1 之 4 篇):