diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2007-10-16 23:26:04 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-17 08:42:46 -0700 |
commit | 97b430320ce7c95f0d5587c5ecc8f6a9d0c698e9 (patch) | |
tree | 3f805b4351c2c4ce68b8de869320f2afc9a805d5 /include/video/maxinefb.h | |
parent | f6b450d489f2fb4e909447beacad64edb8aa0cda (diff) |
Immunize rcu_dereference() against crazy compiler writers
Turns out that compiler writers are a bit more aggressive about optimizing
than one might expect. This patch prevents a number of such optimizations
from messing up rcu_deference(). This is not merely a theoretical problem, as
evidenced by the rmb() in mce_log().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Ingo Molnar <mingo@elte.hu>
Acked-by: Josh Triplett <josh@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/video/maxinefb.h')
0 files changed, 0 insertions, 0 deletions