From owner-freebsd-stable@FreeBSD.ORG Wed Jan 27 06:36:59 2010 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 7FCB7106566B; Wed, 27 Jan 2010 06:36:59 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from mail34.syd.optusnet.com.au (mail34.syd.optusnet.com.au [211.29.133.218]) by mx1.freebsd.org (Postfix) with ESMTP id 088EE8FC0C; Wed, 27 Jan 2010 06:36:58 +0000 (UTC) Received: from server.vk2pj.dyndns.org (c122-106-232-148.belrs3.nsw.optusnet.com.au [122.106.232.148]) by mail34.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id o0R6apxH001385 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 27 Jan 2010 17:36:52 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.3/8.14.3) with ESMTP id o0R6anja001952; Wed, 27 Jan 2010 17:36:49 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.3/8.14.3/Submit) id o0R6anAX001951; Wed, 27 Jan 2010 17:36:49 +1100 (EST) (envelope-from peter) Date: Wed, 27 Jan 2010 17:36:49 +1100 From: Peter Jeremy To: John Baldwin , Marius Strobl Message-ID: <20100127063649.GA1889@server.vk2pj.dyndns.org> References: <20100126073336.GA1955@server.vk2pj.dyndns.org> <201001260946.44977.jhb@freebsd.org> <20100126183756.GA40779@alchemy.franken.de> <201001261510.59667.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: <201001261510.59667.jhb@freebsd.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.20 (2009-06-14) Cc: rmacklem@freebsd.org, dfr@freebsd.org, freebsd-stable@freebsd.org Subject: Re: uma_zalloc_arg complaining about non-sleepable locks 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: Wed, 27 Jan 2010 06:36:59 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2010-Jan-26 15:10:59 -0500, John Baldwin wrote: >On Tuesday 26 January 2010 1:37:56 pm Marius Strobl wrote: >> On Tue, Jan 26, 2010 at 09:46:44AM -0500, John Baldwin wrote: >> > On Tuesday 26 January 2010 2:33:37 am Peter Jeremy wrote: >> > > I have just upgraded to 8-STABLE/amd64 from about 18 hours ago and am >> > > now getting regular (the following pair of messages about every >> > > minute) compaints as follows: >> > >=20 >> > > kernel: uma_zalloc_arg: zone "mbuf" with the following non-sleepable= locks held: >> > > kernel: exclusive sleep mutex sp_lock (sp_lock) r =3D 0 (0xffffff000= 460bb00) locked @ /usr/src/sys/rpc/svc.c:1098 =2E.. >> Could you please give the following patch a try? >> http://people.freebsd.org/~marius/fha_extract_info_realign2.diff That seems to have fixed it - I've booted the new kernel and generated some NFS activity and am not getting any messages. Also, vfs.nfs.realign_test is incrementing nicely though vfs.nfs.realign_count remains at zero. >Hmm, the old code was already using M_DONTWAIT, so now I don't see why you >were getting the witness warning. Actually, there were two nfs_realign() definitions in the kernel - one in nfsclient/nfs_krpc.c (which used M_DONTWAIT) and another in nfsserver/nfs_srvkrpc.c (which used M_WAIT). It was the server code that was being exercised here. --=20 Peter Jeremy --n8g4imXOkfNTN/H1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAktf3wEACgkQ/opHv/APuIdNAACeJj/mR/Jl/RH9gDcJOCDGjWKJ 5LIAnRtjov0Hx7ko+Wj3aEem0rkOe2YC =o6S9 -----END PGP SIGNATURE----- --n8g4imXOkfNTN/H1--