All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] CodeSamples: Fix typo of "acquire"
@ 2016-11-23 12:29 Tobias Klauser
  2016-11-23 19:45 ` Paul E. McKenney
  0 siblings, 1 reply; 2+ messages in thread
From: Tobias Klauser @ 2016-11-23 12:29 UTC (permalink / raw)
  To: Paul E. McKenney; +Cc: perfbook

Change "aquire" to "acquire".

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
---

Hi Paul,

As suggested in our private conversation, I try to give it another shot to
submit a patch. Let's hope it now reaches you directly and/or via mailing list.

Thanks
Tobias

 CodeSamples/SMPdesign/lockrwdeq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CodeSamples/SMPdesign/lockrwdeq.c b/CodeSamples/SMPdesign/lockrwdeq.c
index 137aa1a7b669..fd0d07cad15a 100644
--- a/CodeSamples/SMPdesign/lockrwdeq.c
+++ b/CodeSamples/SMPdesign/lockrwdeq.c
@@ -74,7 +74,7 @@ void deq_push_r(struct cds_list_head *e, struct deq *p)
 /*
  * And now the concurrent implementation, which uses a counter and a rw lock.
  * The counter holds the current available number of items to modify.
- * Before doing a modification we aquire a read lock and reserve our item to modify
+ * Before doing a modification we acquire a read lock and reserve our item to modify
  * (link/unlink).
  * If there are not enough items left for true parallel access we will upgrade
  * the read lock, to a write lock, making the access truly sequential.
-- 
2.11.0.rc0.7.gbe5a750



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

* Re: [PATCH] CodeSamples: Fix typo of "acquire"
  2016-11-23 12:29 [PATCH] CodeSamples: Fix typo of "acquire" Tobias Klauser
@ 2016-11-23 19:45 ` Paul E. McKenney
  0 siblings, 0 replies; 2+ messages in thread
From: Paul E. McKenney @ 2016-11-23 19:45 UTC (permalink / raw)
  To: Tobias Klauser; +Cc: perfbook

On Wed, Nov 23, 2016 at 01:29:15PM +0100, Tobias Klauser wrote:
> Change "aquire" to "acquire".
> 
> Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
> ---
> 
> Hi Paul,
> 
> As suggested in our private conversation, I try to give it another shot to
> submit a patch. Let's hope it now reaches you directly and/or via mailing list.

I did get this one!  Queued and pushed, thank you!

							Thanx, Paul

> Thanks
> Tobias
> 
>  CodeSamples/SMPdesign/lockrwdeq.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/CodeSamples/SMPdesign/lockrwdeq.c b/CodeSamples/SMPdesign/lockrwdeq.c
> index 137aa1a7b669..fd0d07cad15a 100644
> --- a/CodeSamples/SMPdesign/lockrwdeq.c
> +++ b/CodeSamples/SMPdesign/lockrwdeq.c
> @@ -74,7 +74,7 @@ void deq_push_r(struct cds_list_head *e, struct deq *p)
>  /*
>   * And now the concurrent implementation, which uses a counter and a rw lock.
>   * The counter holds the current available number of items to modify.
> - * Before doing a modification we aquire a read lock and reserve our item to modify
> + * Before doing a modification we acquire a read lock and reserve our item to modify
>   * (link/unlink).
>   * If there are not enough items left for true parallel access we will upgrade
>   * the read lock, to a write lock, making the access truly sequential.
> -- 
> 2.11.0.rc0.7.gbe5a750
> 
> 


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

end of thread, other threads:[~2016-11-23 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-23 12:29 [PATCH] CodeSamples: Fix typo of "acquire" Tobias Klauser
2016-11-23 19:45 ` Paul E. McKenney

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.