作者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
1F:→ richliu:那只是你没有碰到 non-coherence platfrom 02/22 20:07
2F:→ richliu:如果是 SMP 又是 non hw-coherence platform, 那很麻烦 02/22 20:08