aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutiny.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/rcutiny.c')
-rw-r--r--kernel/rcutiny.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/rcutiny.c b/kernel/rcutiny.c
index 93d166582cbb..034493724749 100644
--- a/kernel/rcutiny.c
+++ b/kernel/rcutiny.c
@@ -144,6 +144,7 @@ static void rcu_process_callbacks(struct rcu_ctrlblk *rcp)
144{ 144{
145 struct rcu_head *next, *list; 145 struct rcu_head *next, *list;
146 unsigned long flags; 146 unsigned long flags;
147 RCU_TRACE(int cb_count = 0);
147 148
148 /* If no RCU callbacks ready to invoke, just return. */ 149 /* If no RCU callbacks ready to invoke, just return. */
149 if (&rcp->rcucblist == rcp->donetail) 150 if (&rcp->rcucblist == rcp->donetail)
@@ -169,7 +170,9 @@ static void rcu_process_callbacks(struct rcu_ctrlblk *rcp)
169 list->func(list); 170 list->func(list);
170 local_bh_enable(); 171 local_bh_enable();
171 list = next; 172 list = next;
173 RCU_TRACE(cb_count++);
172 } 174 }
175 RCU_TRACE(rcu_trace_sub_qlen(rcp, cb_count));
173} 176}
174 177
175/* 178/*
@@ -252,6 +255,7 @@ static void __call_rcu(struct rcu_head *head,
252 local_irq_save(flags); 255 local_irq_save(flags);
253 *rcp->curtail = head; 256 *rcp->curtail = head;
254 rcp->curtail = &head->next; 257 rcp->curtail = &head->next;
258 RCU_TRACE(rcp->qlen++);
255 local_irq_restore(flags); 259 local_irq_restore(flags);
256} 260}
257 261