[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49E64C91.5020708@cosmosbay.com>
Date: Wed, 15 Apr 2009 23:07:29 +0200
From: Eric Dumazet <dada1@...mosbay.com>
To: Stephen Hemminger <shemminger@...tta.com>
CC: Patrick McHardy <kaber@...sh.net>,
Jeff Chua <jeff.chua.linux@...il.com>,
paulmck@...ux.vnet.ibm.com, David Miller <davem@...emloft.net>,
paulus@...ba.org, mingo@...e.hu, torvalds@...ux-foundation.org,
laijs@...fujitsu.com, jengelh@...ozas.de, r000n@...0n.net,
linux-kernel@...r.kernel.org, netfilter-devel@...r.kernel.org,
netdev@...r.kernel.org, benh@...nel.crashing.org
Subject: Re: [PATCH] netfilter: use per-cpu spinlock rather than RCU (v3)
Stephen Hemminger a écrit :
> Looks like there is some recursive path into ip_tables that makes the
> per-cpu spinlock break. I get lockup's with KVM networking.
>
> Suggestions?
Well, it seems original patch was not so bad after all
http://lists.netfilter.org/pipermail/netfilter-devel/2006-January/023175.html
So change per-cpu spinlocks to per-cpu rwlocks
and use read_lock() in ipt_do_table() to allow recursion...
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists