public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] rcu: comment: correct 'optimized' to 'optimize'.
@ 2013-01-04 17:59 Cody P Schafer
  2013-01-04 18:33 ` Paul E. McKenney
  0 siblings, 1 reply; 3+ messages in thread
From: Cody P Schafer @ 2013-01-04 17:59 UTC (permalink / raw)
  To: Dipankar Sarma, Paul E. McKenney; +Cc: Cody P Schafer, linux-kernel

Small gramar fix in rcutree comment regarding 'rcu_scheduler_active'
var.
---
 kernel/rcutree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/rcutree.c b/kernel/rcutree.c
index e441b77..bfb8972 100644
--- a/kernel/rcutree.c
+++ b/kernel/rcutree.c
@@ -105,7 +105,7 @@ int rcu_num_nodes __read_mostly = NUM_RCU_NODES; /* Total # rcu_nodes in use. */
  * The rcu_scheduler_active variable transitions from zero to one just
  * before the first task is spawned.  So when this variable is zero, RCU
  * can assume that there is but one task, allowing RCU to (for example)
- * optimized synchronize_sched() to a simple barrier().  When this variable
+ * optimize synchronize_sched() to a simple barrier().  When this variable
  * is one, RCU must actually do all the hard work required to detect real
  * grace periods.  This variable is also used to suppress boot-time false
  * positives from lockdep-RCU error checking.
-- 
1.8.0.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] rcu: comment: correct 'optimized' to 'optimize'.
  2013-01-04 17:59 [PATCH] rcu: comment: correct 'optimized' to 'optimize' Cody P Schafer
@ 2013-01-04 18:33 ` Paul E. McKenney
  2013-01-05 17:19   ` Paul E. McKenney
  0 siblings, 1 reply; 3+ messages in thread
From: Paul E. McKenney @ 2013-01-04 18:33 UTC (permalink / raw)
  To: Cody P Schafer; +Cc: Dipankar Sarma, linux-kernel

On Fri, Jan 04, 2013 at 12:59:40PM -0500, Cody P Schafer wrote:
> Small gramar fix in rcutree comment regarding 'rcu_scheduler_active'
> var.

Queued, thank you!  I could not resist fixing a small nit in the commit
log as well.  ;-)

							Thanx, Paul

> ---
>  kernel/rcutree.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/kernel/rcutree.c b/kernel/rcutree.c
> index e441b77..bfb8972 100644
> --- a/kernel/rcutree.c
> +++ b/kernel/rcutree.c
> @@ -105,7 +105,7 @@ int rcu_num_nodes __read_mostly = NUM_RCU_NODES; /* Total # rcu_nodes in use. */
>   * The rcu_scheduler_active variable transitions from zero to one just
>   * before the first task is spawned.  So when this variable is zero, RCU
>   * can assume that there is but one task, allowing RCU to (for example)
> - * optimized synchronize_sched() to a simple barrier().  When this variable
> + * optimize synchronize_sched() to a simple barrier().  When this variable
>   * is one, RCU must actually do all the hard work required to detect real
>   * grace periods.  This variable is also used to suppress boot-time false
>   * positives from lockdep-RCU error checking.
> -- 
> 1.8.0.3
> 


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] rcu: comment: correct 'optimized' to 'optimize'.
  2013-01-04 18:33 ` Paul E. McKenney
@ 2013-01-05 17:19   ` Paul E. McKenney
  0 siblings, 0 replies; 3+ messages in thread
From: Paul E. McKenney @ 2013-01-05 17:19 UTC (permalink / raw)
  To: Cody P Schafer; +Cc: Dipankar Sarma, linux-kernel

On Fri, Jan 04, 2013 at 10:33:53AM -0800, Paul E. McKenney wrote:
> On Fri, Jan 04, 2013 at 12:59:40PM -0500, Cody P Schafer wrote:
> > Small gramar fix in rcutree comment regarding 'rcu_scheduler_active'
> > var.
> 
> Queued, thank you!  I could not resist fixing a small nit in the commit
> log as well.  ;-)

And are you OK with my adding your Signed-off-by?  Either way, on future
patches, please add your Signed-off-by in your original posting.

> 							Thanx, Paul
> 
> > ---
> >  kernel/rcutree.c | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/kernel/rcutree.c b/kernel/rcutree.c
> > index e441b77..bfb8972 100644
> > --- a/kernel/rcutree.c
> > +++ b/kernel/rcutree.c
> > @@ -105,7 +105,7 @@ int rcu_num_nodes __read_mostly = NUM_RCU_NODES; /* Total # rcu_nodes in use. */
> >   * The rcu_scheduler_active variable transitions from zero to one just
> >   * before the first task is spawned.  So when this variable is zero, RCU
> >   * can assume that there is but one task, allowing RCU to (for example)
> > - * optimized synchronize_sched() to a simple barrier().  When this variable
> > + * optimize synchronize_sched() to a simple barrier().  When this variable
> >   * is one, RCU must actually do all the hard work required to detect real
> >   * grace periods.  This variable is also used to suppress boot-time false
> >   * positives from lockdep-RCU error checking.
> > -- 
> > 1.8.0.3
> > 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-05 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-04 17:59 [PATCH] rcu: comment: correct 'optimized' to 'optimize' Cody P Schafer
2013-01-04 18:33 ` Paul E. McKenney
2013-01-05 17:19   ` Paul E. McKenney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox