[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 04 Apr 2011 22:26:10 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Oliver Hartkopp <socketcan@...tkopp.net>
Cc: David Miller <davem@...emloft.net>,
Linux Netdev List <netdev@...r.kernel.org>,
Kurt Van Dijck <kurt.van.dijck@....be>,
Urs Thuermann <urs@...ogud.escape.de>
Subject: Re: [PATCH net-next-2.6] can: convert protocol handling to RCU
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@...tkopp.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@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists