login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
21
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Paul E. McKenney <paulmck@...>
To: Steven Rostedt <rostedt@...>
Cc: <linux-kernel@...>, <linux-rt-users@...>, <mingo@...>, <akpm@...>, <dipankar@...>, <josht@...>, <tytso@...>, <dvhltc@...>, <tglx@...>, <a.p.zijlstra@...>, <bunk@...>, <ego@...>, <oleg@...>, <srostedt@...>
Subject:
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
Date: Friday, September 21, 2007 - 1:50 am
On Fri, Sep 21, 2007 at 12:17:21AM -0400, Steven Rostedt wrote:
quoted text
> [ continued here from comment on patch 1] > > On Mon, Sep 10, 2007 at 11:34:12AM -0700, Paul E. McKenney wrote: > > /* softirq mask and active fields moved to irq_cpustat_t in > > diff -urpNa -X dontdiff linux-2.6.22-b-fixbarriers/include/linux/rcuclassic.h linux-2.6.22-c-preemptrcu/include/linux/rcuclassic.h > > --- linux-2.6.22-b-fixbarriers/include/linux/rcuclassic.h 2007-08-22 14:42:23.000000000 -0700 > > +++ linux-2.6.22-c-preemptrcu/include/linux/rcuclassic.h 2007-08-22 15:21:06.000000000 -0700 > > @@ -142,8 +142,6 @@ extern int rcu_needs_cpu(int cpu); > > extern void __rcu_init(void); > > extern void rcu_check_callbacks(int cpu, int user); > > extern void rcu_restart_cpu(int cpu); > > -extern long rcu_batches_completed(void); > > -extern long rcu_batches_completed_bh(void); > > > > #endif /* __KERNEL__ */ > > #endif /* __LINUX_RCUCLASSIC_H */ > > diff -urpNa -X dontdiff linux-2.6.22-b-fixbarriers/include/linux/rcupdate.h linux-2.6.22-c-preemptrcu/include/linux/rcupdate.h > > --- linux-2.6.22-b-fixbarriers/include/linux/rcupdate.h 2007-07-19 14:02:36.000000000 -0700 > > +++ linux-2.6.22-c-preemptrcu/include/linux/rcupdate.h 2007-08-22 15:21:06.000000000 -0700 > > @@ -52,7 +52,11 @@ struct rcu_head { > > void (*func)(struct rcu_head *head); > > }; > > > > +#ifdef CONFIG_CLASSIC_RCU > > #include <linux/rcuclassic.h> > > +#else /* #ifdef CONFIG_CLASSIC_RCU */ > > +#include <linux/rcupreempt.h> > > +#endif /* #else #ifdef CONFIG_CLASSIC_RCU */ > > > > #define RCU_HEAD_INIT { .next = NULL, .func = NULL } > > #define RCU_HEAD(head) struct rcu_head head = RCU_HEAD_INIT > > @@ -218,10 +222,13 @@ extern void FASTCALL(call_rcu_bh(struct > > /* Exported common interfaces */ > > extern void synchronize_rcu(void); > > extern void rcu_barrier(void); > > +extern long rcu_batches_completed(void); > > +extern long rcu_batches_completed_bh(void); > > > > And here we put back rcu_batches_completed and rcu_batches_completed_bh > from rcuclassic.h to rcupdate.h ;-)
Hmmm... Good point!!! I guess it would be OK to just leave them in rcupdate.h throughout. ;-) Will fix. And good eyes! Thanx, Paul -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH RFC 0/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Mon Sep 10, 2:30 pm)
Re: [PATCH RFC 0/9] RCU: Preemptible RCU
, Ingo Molnar
, (Mon Sep 10, 2:44 pm)
[PATCH RFC 9/9] RCU: preemptible documentation and comment c...
, Paul E. McKenney
, (Mon Sep 10, 2:42 pm)
[PATCH RFC 8/9] RCU: Make RCU priority boosting consume less...
, Paul E. McKenney
, (Mon Sep 10, 2:41 pm)
[PATCH RFC 7/9] RCU: rcutorture testing for RCU priority boo...
, Paul E. McKenney
, (Mon Sep 10, 2:39 pm)
[PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Paul E. McKenney
, (Mon Sep 10, 2:39 pm)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Gautham R Shenoy
, (Fri Oct 5, 7:46 am)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Steven Rostedt
, (Fri Oct 5, 8:24 am)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Gautham R Shenoy
, (Fri Oct 5, 9:21 am)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Paul E. McKenney
, (Fri Oct 5, 10:07 am)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Gautham R Shenoy
, (Fri Sep 28, 6:56 pm)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Steven Rostedt
, (Fri Sep 28, 7:05 pm)
Re: [PATCH RFC 6/9] RCU priority boosting for preemptible RCU
, Paul E. McKenney
, (Sat Sep 29, 11:11 pm)
[PATCH RFC 5/9] RCU: CPU hotplug support for preemptible RCU
, Paul E. McKenney
, (Mon Sep 10, 2:36 pm)
Re: [PATCH RFC 5/9] RCU: CPU hotplug support for preemptible...
, Oleg Nesterov
, (Sun Sep 30, 12:38 pm)
Re: [PATCH RFC 5/9] RCU: CPU hotplug support for preemptible...
, Paul E. McKenney
, (Sun Sep 30, 9:41 pm)
[PATCH RFC 4/9] RCU: synchronize_sched() workaround for CPU ...
, Paul E. McKenney
, (Mon Sep 10, 2:35 pm)
[PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Mon Sep 10, 2:34 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Oleg Nesterov
, (Sun Sep 23, 1:38 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Sun Sep 23, 8:15 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Oleg Nesterov
, (Wed Sep 26, 11:13 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Thu Sep 27, 11:46 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Oleg Nesterov
, (Fri Sep 28, 10:47 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 28, 2:57 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Oleg Nesterov
, (Sun Sep 30, 12:31 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Sun Sep 30, 9:20 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Davide Libenzi
, (Sun Sep 30, 7:02 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Sun Sep 30, 9:37 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Oleg Nesterov
, (Tue Oct 2, 2:02 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Davide Libenzi
, (Mon Oct 1, 2:44 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Mon Oct 1, 3:21 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Davide Libenzi
, (Mon Oct 1, 6:09 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Mon Oct 1, 6:24 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 11:20 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 7:03 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 8:32 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 9:19 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 9:43 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 10:56 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Sat Sep 22, 12:10 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 10:40 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 8:26 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 9:15 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 9:53 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 11:15 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Sat Sep 22, 12:07 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Peter Zijlstra
, (Fri Sep 21, 11:46 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 6:31 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 6:44 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 7:23 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 7:44 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 6:06 pm)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Steven Rostedt
, (Fri Sep 21, 12:17 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Dipankar Sarma
, (Fri Sep 21, 1:56 am)
Re: [PATCH RFC 3/9] RCU: Preemptible RCU
, Paul E. McKenney
, (Fri Sep 21, 1:50 am)
[PATCH RFC 1/9] RCU: Split API to permit multiple RCU implem...
, Paul E. McKenney
, (Mon Sep 10, 2:32 pm)
Re: [PATCH RFC 1/9] RCU: Split API to permit multiple RCU im...
, Steven Rostedt
, (Fri Sep 21, 12:14 am)
[PATCH RFC 2/9] RCU: Fix barriers
, Paul E. McKenney
, (Mon Sep 10, 2:33 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #11209] 2.6.27-rc1 process time accounting
Vitaly V. Bursov
Re: Slow file transfer speeds with CFQ IO scheduler in some cases
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Ian Kent
[PATCH 1/4] autofs4 - check for invalid dentry in getpath
git
:
linux-netdev
:
David Miller
Re: [GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
Linus Torvalds
Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
7 users
and
1000 guests
online.
Online users
zeekec
fuerteventurarr
sreejithc
peterbeckerre
darlinebana
bridgewayestate
billkid
Syndicate