From owner-freebsd-stable@FreeBSD.ORG Mon Jan 19 16:20:15 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D267E10656C4; Mon, 19 Jan 2009 16:20:15 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 9576B8FC0C; Mon, 19 Jan 2009 16:20:15 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LOwrE-0001g5-Cb; Mon, 19 Jan 2009 16:20:12 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LOwrE-000OAg-Ag; Mon, 19 Jan 2009 16:20:12 +0000 To: rwatson@FreeBSD.org In-Reply-To: Message-Id: From: Pete French Date: Mon, 19 Jan 2009 16:20:12 +0000 Cc: dougb@freebsd.org, freebsd-stable@freebsd.org, kometen@gmail.com Subject: Re: Big problems with 7.1 locking up :-( X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2009 16:20:16 -0000 > There are significant changes in UDP locking between 7.0 and 7.1, so it could > be that we're looking at a regression there. If you're able to reproduce this > reliably, it might well be worth doing a little search-and-replace in > udp_usrreq.c along the following lines: > > INP_RLOCK_ASSERT -> INP_WLOCK_ASSERT > INP_RLOCK -> INP_WLOCK > INP_RUNLOCK -> INP_WUNLOCK Given that the latest lockup (see other email) has lots of locks in the UDP code, would you like me to try this next ? The kernel which has just locked is one using Dimtry's patch from http://www.freebsd.org/cgi/query-pr.cgi?pr=130652 I am not sure why that would give me different traces during the lockup though. I was doing a lot more TCP traffic this time, but that shouldnt interfere with UDP should it ? -pete.