diff options
author | Paul E. McKenney <paul.mckenney@linaro.org> | 2010-11-04 14:55:26 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-11-29 22:01:56 -0800 |
commit | e940cc804ec212e483f91167b93d1740c2fd3415 (patch) | |
tree | 9164029ed43f5884b84b72a72bf9049e013d8de9 /kernel/rcutiny_plugin.h | |
parent | 8e79e1f9615b83d1e1d26b328d1b776111ca0cf7 (diff) | |
download | kernel_goldelico_gta04-e940cc804ec212e483f91167b93d1740c2fd3415.zip kernel_goldelico_gta04-e940cc804ec212e483f91167b93d1740c2fd3415.tar.gz kernel_goldelico_gta04-e940cc804ec212e483f91167b93d1740c2fd3415.tar.bz2 |
rcu: Distinguish between boosting and boosted
RCU priority boosting's tracing did not distinguish between ongoing
boosting and completion of boosting. This commit therefore adds this
capability.
Signed-off-by: Paul E. McKenney <paul.mckenney@linaro.org>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcutiny_plugin.h')
-rw-r--r-- | kernel/rcutiny_plugin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/rcutiny_plugin.h b/kernel/rcutiny_plugin.h index f4e0df0..015abae 100644 --- a/kernel/rcutiny_plugin.h +++ b/kernel/rcutiny_plugin.h @@ -229,6 +229,9 @@ static void show_tiny_preempt_stats(struct seq_file *m) seq_puts(m, "no"); break; case 1: + seq_puts(m, "begun"); + break; + case 2: seq_puts(m, "done"); break; default: @@ -284,6 +287,7 @@ static int rcu_boost(void) raw_local_irq_restore(flags); rt_mutex_lock(&mtx); RCU_TRACE(rcu_preempt_ctrlblk.n_tasks_boosted++); + rcu_preempt_ctrlblk.boosted_this_gp++; rt_mutex_unlock(&mtx); return rcu_preempt_ctrlblk.boost_tasks != NULL; } |