[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120607223752.GA4475@electric-eye.fr.zoreil.com>
Date: Fri, 8 Jun 2012 00:37:52 +0200
From: Francois Romieu <romieu@...zoreil.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Denys Fedoryshchenko <denys@...p.net.lb>, davem@...emloft.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: Deadlock, L2TP over IP are not working, 3.4.1
Eric Dumazet <eric.dumazet@...il.com> :
[...]
> If LLTX is used, this means several cpus can execute this code at the
> same time.
>
> You need percpu stats, or use atomic primitives.
Would adding percpu stats not be frown upon ?
As atomic will defeat the 64 bits stats on 32 bits, I should probably stick
to plain bh disabling lock.
--
Ueimor
--
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