]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] NMI: Update NMI users of RCU to use new API
authorPaul E. McKenney <paulmck@us.ibm.com>
Tue, 6 Sep 2005 22:16:35 +0000 (15:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:19 +0000 (16:57 -0700)
commit19306059cd7fedaf96b4b0260a9a8a45e513c857
tree7c32d59c1a5830689d5f85a7f81e89e48d1097ae
parentfe21773d655c2c64641ec2cef499289ea175c817
[PATCH] NMI: Update NMI users of RCU to use new API

Uses of RCU for dynamically changeable NMI handlers need to use the new
rcu_dereference() and rcu_assign_pointer() facilities.  This change makes
it clear that these uses are safe from a memory-barrier viewpoint, but the
main purpose is to document exactly what operations are being protected by
RCU.  This has been tested on x86 and x86-64, which are the only
architectures affected by this change.

Signed-off-by: <paulmck@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Documentation/RCU/NMI-RCU.txt [new file with mode: 0644]
arch/i386/kernel/traps.c
arch/x86_64/kernel/nmi.c