[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091117083748.GA12743@gondor.apana.org.au>
Date: Tue, 17 Nov 2009 16:37:49 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: David Miller <davem@...emloft.net>
Cc: eric.dumazet@...il.com, shemminger@...tta.com,
netdev@...r.kernel.org
Subject: Re: [RFC] dev->refcnt long term holder
On Tue, Nov 17, 2009 at 12:30:19AM -0800, David Miller wrote:
>
> 1) PHY events in most drivers are handled in softirq (NAPI ->poll())
> or a workqueue of some sort these days. If we can make all of
> the link state management softirq safe (it probably is, except
> for perhaps RTNL), these case can be done synchronously always.
I think one of the reasons it's done this way is to call the function
netdev_state_change which needs to be in process context to walk
through the notifier list and do all the calls.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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