[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1307590670.3980.30.camel@edumazet-laptop>
Date: Thu, 09 Jun 2011 05:37:50 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: "David S. Miller" <davem@...emloft.net>, netdev@...r.kernel.org
Subject: Re: [PATCH 4/9] ifb: convert to 64 bit stats
Le mercredi 08 juin 2011 à 20:32 -0700, Stephen Hemminger a écrit :
> IFB is running in single thread context. Therefore just locking would
> be enough
Yep, that is provided by include/linux/u64_stats_sync.h for free.
As a bonus, no locking on 64bit arches and a clean interface.
--
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