[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100719.093549.223487047.davem@davemloft.net>
Date: Mon, 19 Jul 2010 09:35:49 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next-2.6] net: 64bit stats for netdev_queue
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Mon, 19 Jul 2010 15:33:42 +0200
> Since struct netdev_queue tx_bytes/tx_packets/tx_dropped are already
> protected by _xmit_lock, its easy to convert these fields to u64 instead
> of unsigned long.
> This completes 64bit stats for devices using them (vlan, macvlan, ...)
>
> Strictly, we could avoid the locking in dev_txq_stats_fold() on 64bit
> arches, but its slow path and we prefer keep it simple.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied, thanks a lot Eric.
--
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