diff options
| author | Oleg Nesterov <[email protected]> | 2006-03-24 03:15:50 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-03-24 07:33:20 -0800 |
| commit | caa9ee771de3195ae85ac6f8cb550f53e9ecdd82 (patch) | |
| tree | 8aa692f337e071718e698baefc631b58b446beff /scripts/basic | |
| parent | cba9f33d13a8ca3125b2a30abe2425ce562d8a83 (diff) | |
[PATCH] rcu_process_callbacks: don't cli() while testing ->nxtlist
__rcu_process_callbacks() disables interrupts to protect itself from
call_rcu() which adds new entries to ->nxtlist.
However we can check "->nxtlist != NULL" with interrupts enabled, we can't
get "false positives" because call_rcu() can only change this condition
from 0 to 1.
Tested with rcutorture.ko.
Signed-off-by: Oleg Nesterov <[email protected]>
Acked-by: Dipankar Sarma <[email protected]>
Cc: "Paul E. McKenney" <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions