作者jeunder ()
看板LinuxDev
標題[問題] Linux SMP 是否需要 cache coherency 的支持 ?
時間Mon Feb 22 19:56:55 2010
Linux 的 SMP 是不是都假設 processor 之間有 H/W cache coherence ?
看了一下 linux kernel source code.
例如: spin lock function, 在設 lock 時,
只是 local processor memory write,
沒特別去通知其他 processor update cache 裡的 copy,
難道不會出問題嗎 ?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.32.230.35
→ richliu:那只是你沒有碰到 non-coherence platfrom 02/22 20:07
→ richliu:如果是 SMP 又是 non hw-coherence platform, 那很麻煩 02/22 20:08