diff options
author | Paul E. McKenney <[email protected]> | 2009-09-23 09:50:42 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2009-09-23 19:46:29 +0200 |
commit | 1eba8f84380bede3c602bd7758dea96925cead01 (patch) | |
tree | 32dd97671016c9fdc24d75be50cc8540e6cc0730 /lib/cpu-notifier-error-inject.c | |
parent | fc2219d49ef1606e7fd2c88af2b423b01ff3d319 (diff) |
rcu: Clean up code based on review feedback from Josh Triplett, part 2
These issues identified during an old-fashioned face-to-face code
review extending over many hours.
o Add comments for tricky parts of code, and correct comments
that have passed their sell-by date.
o Get rid of the vestiges of rcu_init_sched(), which is no
longer needed now that PREEMPT_RCU is gone.
o Move the #include of rcutree_plugin.h to the end of
rcutree.c, which means that, rather than having a random
collection of forward declarations, the new set of forward
declarations document the set of plugins. The new home for
this #include also allows __rcu_init_preempt() to move into
rcutree_plugin.h.
o Fix rcu_preempt_check_callbacks() to be static.
Suggested-by: Josh Triplett <[email protected]>
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]
Cc: [email protected]
LKML-Reference: <12537246443924-git-send-email->
Signed-off-by: Ingo Molnar <[email protected]>
Peter Zijlstra <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions