From owner-freebsd-hackers@FreeBSD.ORG Sat Nov 20 20:05:07 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81C6410656A6 for ; Sat, 20 Nov 2010 20:05:07 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id 3B25F8FC14 for ; Sat, 20 Nov 2010 20:05:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id 97D3A41C747; Sat, 20 Nov 2010 21:05:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id Y1QP7mrID1pj; Sat, 20 Nov 2010 21:05:05 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id E774141C713; Sat, 20 Nov 2010 21:05:05 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 20E8244490B; Sat, 20 Nov 2010 20:04:36 +0000 (UTC) Date: Sat, 20 Nov 2010 20:04:35 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Mikolaj Golub In-Reply-To: <868w0nolqo.fsf@kopusha.home.net> Message-ID: <20101120200208.M24596@maildrop.int.zabbadoz.net> References: <86pqu0nexd.fsf@kopusha.home.net> <20101120165604.T24596@maildrop.int.zabbadoz.net> <868w0nolqo.fsf@kopusha.home.net> X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-hackers@freebsd.org Subject: Re: flowtable_cleaner/flowtable_flush livelock X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Nov 2010 20:05:07 -0000 On Sat, 20 Nov 2010, Mikolaj Golub wrote: Hey, > On Sat, 20 Nov 2010 17:03:13 +0000 (UTC) Bjoern A. Zeeb wrote: > > BAZ> I think net@ would have been a better initial place but since this > BAZ> seems to be a problem when interacting with VIMAGE > BAZ> freebsd-virtualization might be better. > > BAZ> What you could try is: > BAZ> http://people.freebsd.org/~bz/20100216-10-ft-cv.diff > > Ah, I have recalled I had already saw this patch but did not understand what > the problem was that it fixed, thus did not associated it with my case > (actually, I thought you had committed all these patches to the tree long time > ago and I was running the kernel with them already :-). > > BTW, the patch needs updating: in the current flow_full() wakes up flowcleaner > too, and flowcleaner sleeps for flowclean_freq instead of 10*hz (see the > attached patch). For sure it does; as you can see form the date in the file name, that patch was from the beginning of the year. > With the patch I can't reproduce the lock. Only the crash I mentioned in my > first letter is observed: Hmm, I guess I should get the updated version comitted then. How do you reproduce the crash? Is it just another ifioctl race as from kern/146250? /bz -- Bjoern A. Zeeb Welcome a new stage of life. Going to jail sucks -- All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html