]> git.hungrycats.org Git - linux/commit
[PATCH] smp_call_function needs mb()
authorZwane Mwaikambo <zwane@linuxpower.ca>
Fri, 4 Apr 2003 12:08:15 +0000 (04:08 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Fri, 4 Apr 2003 12:08:15 +0000 (04:08 -0800)
commit856eeb53b42ae2b01e22e4cc359471c4831cda2e
tree0f8be5a2d5f8b38944cb18b7bec42b84d1188b3b
parenta38298ec03e25b1ea2861c3233d24ecc083ae29c
[PATCH] smp_call_function needs mb()

We really need a memory barrier in smp_call_function(), so that the
other cpu's get the updated value when they get IPI'd immediately
afterwards.

This seems to be true on some old (and arguably broken) hardware where
the IPI generation and reception doesn't synchronize enough.
arch/i386/kernel/smp.c