From owner-cvs-all Sun Jul 7 13:10:29 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 CF53537B407; Sun, 7 Jul 2002 13:10:22 -0700 (PDT) Received: from k6.locore.ca (k6.locore.ca [198.96.117.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id AA5F743ECF; Sun, 7 Jul 2002 13:09:45 -0700 (PDT) (envelope-from jake@k6.locore.ca) Received: from k6.locore.ca (jake@localhost [127.0.0.1]) by k6.locore.ca (8.12.5/8.12.3) with ESMTP id g67KB6Kk015896; Sun, 7 Jul 2002 16:11:06 -0400 (EDT) (envelope-from jake@k6.locore.ca) Received: (from jake@localhost) by k6.locore.ca (8.12.5/8.12.3/Submit) id g67KB6FO015895; Sun, 7 Jul 2002 16:11:06 -0400 (EDT) Date: Sun, 7 Jul 2002 16:11:06 -0400 From: Jake Burkholder To: Alan Cox Cc: Alan Cox , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/vm vm_zeroidle.c Message-ID: <20020707161105.D14627@locore.ca> References: <200207071927.g67JRvwi019399@freefall.freebsd.org> <20020707193742.GX11391@cs.rice.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020707193742.GX11391@cs.rice.edu>; from alc@cs.rice.edu on Sun, Jul 07, 2002 at 02:37:42PM -0500 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, Jul 07, 2002 at 02:37:42PM -0500, Alan Cox said words to the effect of; > On Sun, Jul 07, 2002 at 12:27:57PM -0700, Alan Cox wrote: > > alc 2002/07/07 12:27:57 PDT > > > > Modified files: > > sys/vm vm_zeroidle.c > > Log: > > o Lock accesses to the free queue(s) in vm_page_zero_idle(). > > > > Revision Changes Path > > 1.10 +4 -0 src/sys/vm/vm_zeroidle.c > > I believe that Giant could be removed from vm_page_zero_idle() > on alpha and ia64. i386's pmap_zero_page() is not MPSAFE. > I'm not sure about sparc64. (re sparc64) The cache flush call is not MP-safe yet, because the IPI code isn't, but it won't take much to make it so. To do the zeroing it accesses physical addresses directly, similar to K0SEG addresses on alpha and RR7 addresses on ia64, which is MP-safe. Jake To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message