• Paul E. McKenney's avatar
    [PATCH] NMI: Update NMI users of RCU to use new API · 19306059
    Paul E. McKenney authored
    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: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>