diff options
author | Paul E. McKenney <[email protected]> | 2012-09-04 17:35:31 -0700 |
---|---|---|
committer | Frederic Weisbecker <[email protected]> | 2012-09-26 15:47:18 +0200 |
commit | cb349ca95407cbc11424d5e9fc7c8e700709041b (patch) | |
tree | b20795decb064af75aae8f9f6af77806b1a4769a /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 1fd2b4425a5702c112b441e20b250ac8833a9608 (diff) |
rcu: Apply micro-optimization and int/bool fixes to RCU's idle handling
Checking "user" before "is_idle_task()" allows better optimizations
in cases where inlining is possible. Also, "bool" should be passed
"true" or "false" rather than "1" or "0". This commit therefore makes
these changes, as noted in Josh's review.
Reported-by: Josh Triplett <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Reviewed-by: Josh Triplett <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions