[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070615090614.19871370@localhost>
Date: Fri, 15 Jun 2007 09:06:14 -0700
From: Stephen Hemminger <shemminger@...ux-foundation.org>
To: "Zhu Han" <schumi.han@...il.com>
Cc: "Kieran Mansley" <kmansley@...arflare.com>,
xen-devel@...ts.xensource.com, netdev@...r.kernel.org,
herbert@...dor.apana.org.au
Subject: Re: [Xen-devel] [PATCH 4/4] [Net] Support accelerated network
plugin modules
On Fri, 15 Jun 2007 11:59:43 -0400
"Zhu Han" <schumi.han@...il.com> wrote:
> Hi, Kieran,
>
> I'm just wonder why you try to acquire the lock and increase the
> hooks_usecount each time when you use the hook routine. Is there any
> generic ways to synchronze the code path using hook routines and
> netfront_accelerator_unloaded, considering you can synchronize the
>
Learn to use RCU for this. It would reduce the lock overhead.
-
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