[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1278345780.2877.376.camel@edumazet-laptop>
Date: Mon, 05 Jul 2010 18:03:00 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Matt Carlson <mcarlson@...adcom.com>
Cc: Michael Chan <mchan@...adcom.com>, netdev <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>
Subject: Re: [PATCH net-next-2.6] tg3: 64bits stats
Le lundi 05 juillet 2010 à 11:14 +0200, Eric Dumazet a écrit :
> After commit be1f3c2c027c (net: Enable 64-bit net device statistics on
> 32-bit architectures), we can now provide 64bit stats, even on 32bit
> arches.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> ---
Please disregard this patch.
There is small possibility a reader might read a 64bit value while
another writer makes a change to it, changing high 32bit value.
A change in core network would be needed to make this 100% safe,
possibly using a seqlock to protect dev->stats64
--
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