• P
    [PATCH] NMI: Update NMI users of RCU to use new API · 19306059
    Paul E. McKenney 提交于
    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: NAndrew Morton <akpm@osdl.org>
    Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
    19306059
nmi.c 14.1 KB