[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1300227556.2565.9.camel@edumazet-laptop>
Date: Tue, 15 Mar 2011 23:19:16 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: Oliver Hartkopp <socketcan@...tkopp.net>
Cc: Kurt Van Dijck <kurt.van.dijck@....be>,
socketcan-core@...ts.berlios.de, netdev@...r.kernel.org
Subject: Re: [RFC v3 3/6] can: make struct proto const
Le mardi 15 mars 2011 à 22:28 +0100, Oliver Hartkopp a écrit :
> Hello Eric,
>
> the RCU code in phonet is worth to consider. But loading and removing of
> protocols is far away from being a hot path ... what would be the advantages
> to move to RCU here?
>
can_create() could avoid taking the spinlock.
I have no idea if its a critical path, I guess not.
--
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