From owner-freebsd-bugs@FreeBSD.ORG Tue Dec 4 19:41:13 2007 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EBAF16A420 for ; Tue, 4 Dec 2007 19:41:13 +0000 (UTC) (envelope-from dan@obluda.cz) Received: from smtp1.kolej.mff.cuni.cz (smtp1.kolej.mff.cuni.cz [78.128.192.4]) by mx1.freebsd.org (Postfix) with ESMTP id 9DF9613C461 for ; Tue, 4 Dec 2007 19:41:12 +0000 (UTC) (envelope-from dan@obluda.cz) X-Envelope-From: dan@obluda.cz X-DomainKeys: Sendmail DomainKeys Filter v0.6.0 smtp1.kolej.mff.cuni.cz lB4JeuXc025587 Received: from kulesh.obluda.cz (openvpn.ms.mff.cuni.cz [195.113.20.87]) by smtp1.kolej.mff.cuni.cz (8.13.8/8.13.8) with ESMTP id lB4JeuXc025587; Tue, 4 Dec 2007 20:40:58 +0100 (CET) (envelope-from dan@obluda.cz) Message-ID: <4755AD48.3020904@obluda.cz> Date: Tue, 04 Dec 2007 20:40:56 +0100 From: Dan Lukes User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.9) Gecko/20071109 SeaMonkey/1.1.6 MIME-Version: 1.0 To: Robert Watson References: <200709022226.l82MQlSu002155@kulesh.obluda.cz> <20071204162537.F87930@fledge.watson.org> In-Reply-To: <20071204162537.F87930@fledge.watson.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@FreeBSD.org, FreeBSD-gnats-submit@FreeBSD.org Subject: Re: kern/116034: Giant not owned at /usr/src/sys/netinet/tcp_sack.c:271=tcp_clean_sackreport(tp) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Dec 2007 19:41:13 -0000 Robert Watson napsal/wrote, On 12/04/07 17:26: > There's actually a slightly more general problem here--could you try > this more general patch? It should resolve the problem. I tried to test it, the system is going to panic, but I'm not sure the mb_reclaim() has been called. I inserted a printf just after NET_LOCK_GIANT() but never seen the text on console even the do_drain sysctl has been set to 1. Do you know a reliable way how to trigger vm_lowmem event ? I tried to allocate as much as possible memory, i tried to call EVENTHANDLER_INVOKE from kernel module, but it seems the mb_reclaim has not been invoked. Dan -- Dan Lukes SISAL MFF UK AKA: dan at obluda.cz, dan at freebsd.cz, dan at (kolej.)mff.cuni.cz