[問題] Linux SMP 是否需要 cache coherency 的支持 ?
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
→
02/22 20:07, , 1F
02/22 20:07, 1F
→
02/22 20:08, , 2F
02/22 20:08, 2F