From owner-cvs-all Sun Nov 10 10:39:49 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 A358437B401; Sun, 10 Nov 2002 10:39:48 -0800 (PST) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 10CA943E42; Sun, 10 Nov 2002 10:39:48 -0800 (PST) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost.locore.ca [127.0.0.1]) by k6.locore.ca (8.12.5/8.12.5) with ESMTP id gAAIuEbd088835; Sun, 10 Nov 2002 13:56:15 -0500 (EST) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.5/8.12.5/Submit) id gAAIuE5l088834; Sun, 10 Nov 2002 13:56:14 -0500 (EST) Date: Sun, 10 Nov 2002 13:56:14 -0500 From: Jake Burkholder To: Matt Jacob Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm uma_dbg.c Message-ID: <20021110135614.A85338@locore.ca> References: <200211101616.gAAGGiuV009632@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200211101616.gAAGGiuV009632@repoman.freebsd.org>; from mjacob@FreeBSD.org on Sun, Nov 10, 2002 at 08:16:44AM -0800 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 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. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message