[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1460558391.10638.24.camel@edumazet-glaptop3.roam.corp.google.com>
Date: Wed, 13 Apr 2016 07:39:51 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: "Michael S. Tsirkin" <mst@...hat.com>
Cc: Hannes Frederic Sowa <hannes@...essinduktion.org>,
Paolo Abeni <pabeni@...hat.com>, netdev@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Greg Kurz <gkurz@...ux.vnet.ibm.com>,
Jason Wang <jasowang@...hat.com>,
Christian Borntraeger <borntraeger@...ibm.com>,
Herbert Xu <herbert@...dor.apana.org.au>
Subject: Re: [PATCH RFC 1/2] tun: don't require serialization lock on tx
On Wed, 2016-04-13 at 16:54 +0300, Michael S. Tsirkin wrote:
> OK, now I understand what the duplication is about.
> What about NETDEV_TX_LOCKED? Looks like it might have
> the same effect?
>
> This might be worth documenting in include/linux/netdevice.h,
> might it not?
I believe the intent is to get rid of NETDEV_TX_LOCKED at some point.
Some drivers seem to abuse it.
For example, drivers/infiniband/hw/nes/nes_nic.c is clearly completely
buggy :(
Powered by blists - more mailing lists