From owner-cvs-all Sun Nov 10 10:49: 8 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 7534637B401; Sun, 10 Nov 2002 10:49:07 -0800 (PST) Received: from parmenion.hosting.swbell.net (parmenion.hosting.swbell.net [216.100.98.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E2DE43E3B; Sun, 10 Nov 2002 10:49:07 -0800 (PST) (envelope-from alc@imimic.com) Received: from imimic.com (adsl-216-63-78-19.dsl.hstntx.swbell.net [216.63.78.19]) by parmenion.hosting.swbell.net id NAA25870; Sun, 10 Nov 2002 13:48:53 -0500 (EST) [ConcentricHost SMTP Relay 1.14] Message-ID: <3DCEAA0E.337BF15B@imimic.com> Date: Sun, 10 Nov 2002 12:48:46 -0600 From: "Alan L. Cox" Organization: iMimic Networking, Inc. X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Jake Burkholder Cc: Matt Jacob , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm uma_dbg.c References: <200211101616.gAAGGiuV009632@repoman.freebsd.org> <20021110135614.A85338@locore.ca> Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit 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 Jake Burkholder wrote: > > Apparently, On Sun, Nov 10, 2002 at 08:16:44AM -0800, > Matt Jacob said words to the effect of; > > > mjacob 2002/11/10 08:16:44 PST > > > > Modified files: > > sys/vm uma_dbg.c > > Log: > > Use atomic_set_8 on the us_freelist maps as they are not otherwise > > protected. Furthermore, in some RISC architectures with no normal > > byte operations, the surrounding 3 bytes are also affected by the > > read-modify-write that has to occur. > > > > Revision Changes Path > > 1.9 +2 -2 src/sys/vm/uma_dbg.c > > sparc64 can't do atomic operations on less than 32 bits, this needs > a lock. > Matt, can you try acquiring and releasing the zone mutex in uma_dbg_alloc() and uma_dbg_free() instead? Alan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message