[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081229103735.GA9763@gondor.apana.org.au>
Date: Mon, 29 Dec 2008 21:37:35 +1100
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Peter Zijlstra <a.p.zijlstra@...llo.nl>
Cc: "Tantilov, Emil S" <emil.s.tantilov@...el.com>,
"Kirsher, Jeffrey T" <jeffrey.t.kirsher@...el.com>,
netdev <netdev@...r.kernel.org>,
David Miller <davem@...emloft.net>,
"Waskiewicz Jr, Peter P" <peter.p.waskiewicz.jr@...el.com>,
"Duyck, Alexander H" <alexander.h.duyck@...el.com>,
Ingo Molnar <mingo@...e.hu>, Eric Dumazet <dada1@...mosbay.com>
Subject: Re: unsafe locks seen with netperf on net-2.6.29 tree
On Mon, Dec 29, 2008 at 09:31:54PM +1100, Herbert Xu wrote:
>
> You also need to patch the other places where we use that percpu
> counter from process context, e.g., for /proc/net/tcp.
In fact, it looks like just about every spot in the original
changeset (dd24c00191d5e4a1ae896aafe33c6b8095ab4bd1) may be run
from process context. So you might be better off making BH-disabling
variants of the percpu counter ops.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
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