public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: Oliver Hartkopp <socketcan@hartkopp.net>
Cc: David Miller <davem@davemloft.net>,
	Linux Netdev List <netdev@vger.kernel.org>,
	Kurt Van Dijck <kurt.van.dijck@eia.be>,
	Urs Thuermann <urs@isnogud.escape.de>
Subject: Re: [PATCH net-next-2.6] can: convert protocol handling to RCU
Date: Mon, 04 Apr 2011 22:26:10 +0200	[thread overview]
Message-ID: <1301948770.3021.41.camel@edumazet-laptop> (raw)
In-Reply-To: <4D9A2844.2080304@hartkopp.net>

Le lundi 04 avril 2011 à 22:21 +0200, Oliver Hartkopp a écrit :
> This patch removes spin_locks at CAN socket creation time by using RCU.
> 
> Inspired by the discussion with Kurt van Dijck and Eric Dumazet the RCU code
> was partly derived from af_phonet.c
> 
> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
> 
> ---
> 
> diff --git a/net/can/af_can.c b/net/can/af_can.c
> index 733d66f..551ebc1 100644
> --- a/net/can/af_can.c
> +++ b/net/can/af_can.c
> @@ -85,7 +85,7 @@ static struct kmem_cache *rcv_cache __read_mostly;

Seems good to me, thanks !

Reviewed-by: Eric Dumazet <eric.dumazet@gmail.com>




  reply	other threads:[~2011-04-04 20:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04 20:21 [PATCH net-next-2.6] can: convert protocol handling to RCU Oliver Hartkopp
2011-04-04 20:26 ` Eric Dumazet [this message]
2011-04-05 17:52 ` Oliver Hartkopp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1301948770.3021.41.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=davem@davemloft.net \
    --cc=kurt.van.dijck@eia.be \
    --cc=netdev@vger.kernel.org \
    --cc=socketcan@hartkopp.net \
    --cc=urs@isnogud.escape.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox