| Submitter | Paul E. McKenney |
|---|---|
| Subject | [tip/core/rcu,2/6] rcu: Rationalize ordering of torture_ops list |
| Date | June 15, 2012, 6:57 p.m. |
| List thread | <1339786674-25265-2-git-send-email-paulmck@linux.vnet.ibm.com> |
| Project | linux-kernel |
| State | Accepted |
| Last updated | July 2, 2012, 7:34 p.m. |
| Commit | 751a68b2e46fe11a42450cb55a16e8065eddec7e |
| Headers | show |
Comments
On Fri, Jun 15, 2012 at 11:57:50AM -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> > > Move the raw SRCU interfaces out of the middle of the normal SRCU > interfaces. > > Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Reviewed-by: Josh Triplett <josh@joshtriplett.org> > --- > kernel/rcutorture.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c > index e66b34a..9850479 100644 > --- a/kernel/rcutorture.c > +++ b/kernel/rcutorture.c > @@ -1908,8 +1908,8 @@ rcu_torture_init(void) > static struct rcu_torture_ops *torture_ops[] = > { &rcu_ops, &rcu_sync_ops, &rcu_expedited_ops, > &rcu_bh_ops, &rcu_bh_sync_ops, &rcu_bh_expedited_ops, > - &srcu_ops, &srcu_sync_ops, &srcu_raw_ops, > - &srcu_raw_sync_ops, &srcu_expedited_ops, > + &srcu_ops, &srcu_sync_ops, &srcu_expedited_ops, > + &srcu_raw_ops, &srcu_raw_sync_ops, > &sched_ops, &sched_sync_ops, &sched_expedited_ops, }; > > mutex_lock(&fullstop_mutex); > -- > 1.7.8 >
Patch
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index e66b34a..9850479 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c @@ -1908,8 +1908,8 @@ rcu_torture_init(void) static struct rcu_torture_ops *torture_ops[] = { &rcu_ops, &rcu_sync_ops, &rcu_expedited_ops, &rcu_bh_ops, &rcu_bh_sync_ops, &rcu_bh_expedited_ops, - &srcu_ops, &srcu_sync_ops, &srcu_raw_ops, - &srcu_raw_sync_ops, &srcu_expedited_ops, + &srcu_ops, &srcu_sync_ops, &srcu_expedited_ops, + &srcu_raw_ops, &srcu_raw_sync_ops, &sched_ops, &sched_sync_ops, &sched_expedited_ops, }; mutex_lock(&fullstop_mutex);
