[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101018.081224.183035467.davem@davemloft.net>
Date: Mon, 18 Oct 2010 08:12:24 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jeffrey.t.kirsher@...el.com
Cc: netdev@...r.kernel.org, gospo@...hat.com, bphilips@...ell.com,
eric.dumazet@...il.com
Subject: Re: [net-next-2.6 PATCH] igb: fix stats handling
From: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Date: Fri, 15 Oct 2010 20:27:10 -0700
> From: Eric Dumazet <eric.dumazet@...il.com>
>
> There are currently some problems with igb.
>
> - On 32bit arches, maintaining 64bit counters without proper
> synchronization between writers and readers.
>
> - Stats updated every two seconds, as reported by Jesper.
> (Jesper provided a patch for this)
>
> - Potential problem between worker thread and ethtool -S
>
> This patch uses u64_stats_sync, and convert everything to be 64bit safe,
> SMP safe, even on 32bit arches. It integrates Jesper idea of providing
> accurate stats at the time user reads them.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
> Tested-by: Emil Tantilov <emil.s.tantilov@...el.com>
> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@...el.com>
Applied.
--
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