diff options
author | Paul E. McKenney <[email protected]> | 2009-09-18 09:50:18 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-09-19 08:53:21 +0200 |
commit | e7d8842ed34a7fe19d1ed90f84c211fb056ac523 (patch) | |
tree | d49d5b8ff8829e525b8f80d60a18ef1f37e09529 /tools/perf/util/trace-event-scripting.c | |
parent | 28ecd58020409be8eb176c716f957fc3386fa2fa (diff) |
rcu: Apply results of code inspection of kernel/rcutree_plugin.h
o Drop the calls to cpu_quiet() from the online/offline code.
These are unnecessary, since force_quiescent_state() will
clean up, and removing them simplifies the code a bit.
o Add a warning to check that we don't enqueue the same blocked
task twice onto the ->blocked_tasks[] lists.
o Rework the phase computation in rcu_preempt_note_context_switch()
to be more readable, as suggested by Josh Triplett.
o Disable irqs to close a race between the scheduling clock
interrupt and rcu_preempt_note_context_switch() WRT the
->rcu_read_unlock_special field.
o Add comments to rnp->lock acquisition and release within
rcu_read_unlock_special() noting that irqs are already
disabled.
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
LKML-Reference: <12532926201851-git-send-email->
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions