From owner-cvs-all Sun Nov 10 18:26:59 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D93DD37B401; Sun, 10 Nov 2002 18:26:58 -0800 (PST) Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 356C943E4A; Sun, 10 Nov 2002 18:26:58 -0800 (PST) (envelope-from mjacob@feral.com) Received: from mailhost.feral.com (mjacob@mailhost.feral.com [192.67.166.1]) by beppo.feral.com (8.11.3/8.11.3) with ESMTP id gAB2OgZ63316; Sun, 10 Nov 2002 18:24:42 -0800 (PST) (envelope-from mjacob@feral.com) Date: Sun, 10 Nov 2002 18:24:42 -0800 (PST) From: Matthew Jacob X-Sender: mjacob@beppo Reply-To: mjacob@feral.com To: "Alan L. Cox" Cc: Jake Burkholder , jeff@freebsd.org, cvs-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/vm uma_dbg.c In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > > > Matt, can you try acquiring and releasing the zone mutex in > > uma_dbg_alloc() and uma_dbg_free() instead? > > > > Sure- let me look at this a little closer - I'll interrupt the make > release and try a different approach. The trouble is that slab_zalloc sets value in us_freelist with the zone lock not held. THe locking for falling uma_dbg_alloc and uma_dbg_free doesn't seem all that consistent to me. It's getting beyond my easy reading/fixing. If there is no MI atomic set/clear 8 (which, IMO, is kind of a bug), I'd just change us_freelist to be an int for now. This change seemed to make a difference- but it could be coincidence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message