diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2009-08-22 16:56:46 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-08-23 04:32:37 -0400 |
commit | d6714c22b43fbcbead7e7b706ff270e15f04a791 (patch) | |
tree | 1dc15e57d982351bed45b7b9768a118f86b88c19 /kernel/rcutree_trace.c | |
parent | 9f77da9f40045253e91f55c12d4481254b513d2d (diff) |
rcu: Renamings to increase RCU clarity
Make RCU-sched, RCU-bh, and RCU-preempt be underlying
implementations, with "RCU" defined in terms of one of the
three. Update the outdated rcu_qsctr_inc() names, as these
functions no longer increment anything.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: josht@linux.vnet.ibm.com
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
LKML-Reference: <12509746132696-git-send-email->
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/rcutree_trace.c')
-rw-r--r-- | kernel/rcutree_trace.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kernel/rcutree_trace.c b/kernel/rcutree_trace.c index 0cb52b887758..236c0504fee2 100644 --- a/kernel/rcutree_trace.c +++ b/kernel/rcutree_trace.c | |||
@@ -77,8 +77,8 @@ static void print_one_rcu_data(struct seq_file *m, struct rcu_data *rdp) | |||
77 | 77 | ||
78 | static int show_rcudata(struct seq_file *m, void *unused) | 78 | static int show_rcudata(struct seq_file *m, void *unused) |
79 | { | 79 | { |
80 | seq_puts(m, "rcu:\n"); | 80 | seq_puts(m, "rcu_sched:\n"); |
81 | PRINT_RCU_DATA(rcu_data, print_one_rcu_data, m); | 81 | PRINT_RCU_DATA(rcu_sched_data, print_one_rcu_data, m); |
82 | seq_puts(m, "rcu_bh:\n"); | 82 | seq_puts(m, "rcu_bh:\n"); |
83 | PRINT_RCU_DATA(rcu_bh_data, print_one_rcu_data, m); | 83 | PRINT_RCU_DATA(rcu_bh_data, print_one_rcu_data, m); |
84 | return 0; | 84 | return 0; |
@@ -125,8 +125,8 @@ static int show_rcudata_csv(struct seq_file *m, void *unused) | |||
125 | seq_puts(m, "\"dt\",\"dt nesting\",\"dn\",\"df\","); | 125 | seq_puts(m, "\"dt\",\"dt nesting\",\"dn\",\"df\","); |
126 | #endif /* #ifdef CONFIG_NO_HZ */ | 126 | #endif /* #ifdef CONFIG_NO_HZ */ |
127 | seq_puts(m, "\"of\",\"ri\",\"ql\",\"b\"\n"); | 127 | seq_puts(m, "\"of\",\"ri\",\"ql\",\"b\"\n"); |
128 | seq_puts(m, "\"rcu:\"\n"); | 128 | seq_puts(m, "\"rcu_sched:\"\n"); |
129 | PRINT_RCU_DATA(rcu_data, print_one_rcu_data_csv, m); | 129 | PRINT_RCU_DATA(rcu_sched_data, print_one_rcu_data_csv, m); |
130 | seq_puts(m, "\"rcu_bh:\"\n"); | 130 | seq_puts(m, "\"rcu_bh:\"\n"); |
131 | PRINT_RCU_DATA(rcu_bh_data, print_one_rcu_data_csv, m); | 131 | PRINT_RCU_DATA(rcu_bh_data, print_one_rcu_data_csv, m); |
132 | return 0; | 132 | return 0; |
@@ -172,8 +172,8 @@ static void print_one_rcu_state(struct seq_file *m, struct rcu_state *rsp) | |||
172 | 172 | ||
173 | static int show_rcuhier(struct seq_file *m, void *unused) | 173 | static int show_rcuhier(struct seq_file *m, void *unused) |
174 | { | 174 | { |
175 | seq_puts(m, "rcu:\n"); | 175 | seq_puts(m, "rcu_sched:\n"); |
176 | print_one_rcu_state(m, &rcu_state); | 176 | print_one_rcu_state(m, &rcu_sched_state); |
177 | seq_puts(m, "rcu_bh:\n"); | 177 | seq_puts(m, "rcu_bh:\n"); |
178 | print_one_rcu_state(m, &rcu_bh_state); | 178 | print_one_rcu_state(m, &rcu_bh_state); |
179 | return 0; | 179 | return 0; |
@@ -194,8 +194,8 @@ static struct file_operations rcuhier_fops = { | |||
194 | 194 | ||
195 | static int show_rcugp(struct seq_file *m, void *unused) | 195 | static int show_rcugp(struct seq_file *m, void *unused) |
196 | { | 196 | { |
197 | seq_printf(m, "rcu: completed=%ld gpnum=%ld\n", | 197 | seq_printf(m, "rcu_sched: completed=%ld gpnum=%ld\n", |
198 | rcu_state.completed, rcu_state.gpnum); | 198 | rcu_sched_state.completed, rcu_sched_state.gpnum); |
199 | seq_printf(m, "rcu_bh: completed=%ld gpnum=%ld\n", | 199 | seq_printf(m, "rcu_bh: completed=%ld gpnum=%ld\n", |
200 | rcu_bh_state.completed, rcu_bh_state.gpnum); | 200 | rcu_bh_state.completed, rcu_bh_state.gpnum); |
201 | return 0; | 201 | return 0; |
@@ -244,8 +244,8 @@ static void print_rcu_pendings(struct seq_file *m, struct rcu_state *rsp) | |||
244 | 244 | ||
245 | static int show_rcu_pending(struct seq_file *m, void *unused) | 245 | static int show_rcu_pending(struct seq_file *m, void *unused) |
246 | { | 246 | { |
247 | seq_puts(m, "rcu:\n"); | 247 | seq_puts(m, "rcu_sched:\n"); |
248 | print_rcu_pendings(m, &rcu_state); | 248 | print_rcu_pendings(m, &rcu_sched_state); |
249 | seq_puts(m, "rcu_bh:\n"); | 249 | seq_puts(m, "rcu_bh:\n"); |
250 | print_rcu_pendings(m, &rcu_bh_state); | 250 | print_rcu_pendings(m, &rcu_bh_state); |
251 | return 0; | 251 | return 0; |