Re: [PATCH net-next-2.6] tg3: 64bits stats

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric Dumazet
Date: Monday, July 5, 2010 - 9:03 am

Le lundi 05 juillet 2010 à 11:14 +0200, Eric Dumazet a écrit :

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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH net-next-2.6] tg3: 64bits stats, Eric Dumazet, (Mon Jul 5, 2:14 am)
Re: [PATCH net-next-2.6] tg3: 64bits stats, Eric Dumazet, (Mon Jul 5, 9:03 am)
Re: [PATCH net-next-2.6] tg3: 64bits stats, Ben Hutchings, (Mon Jul 5, 10:31 am)
Re: [PATCH net-next-2.6] tg3: 64bits stats, Eric Dumazet, (Mon Jul 5, 11:07 am)
Re: [PATCH net-next-2.6] tg3: 64bits stats, Ben Hutchings, (Mon Jul 5, 11:30 am)
Re: [PATCH net-next-2.6] tg3: 64bits stats, Eric Dumazet, (Mon Jul 5, 11:35 am)
Re: [PATCH net-next-2.6] tg3: 64bits stats, Ben Hutchings, (Mon Jul 5, 11:41 am)
Re: [PATCH net-next-2.6] tg3: 64bits stats, Eric Dumazet, (Mon Jul 5, 11:59 am)