From owner-freebsd-alpha Sun Nov 10 11:26: 3 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 608FE37B401; Sun, 10 Nov 2002 11:26:02 -0800 (PST) Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id ADED743E4A; Sun, 10 Nov 2002 11:26:01 -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 gAAJPxZ60730; Sun, 10 Nov 2002 11:25:59 -0800 (PST) (envelope-from mjacob@feral.com) Date: Sun, 10 Nov 2002 11:25:59 -0800 (PST) From: Matthew Jacob X-Sender: mjacob@beppo Reply-To: mjacob@feral.com To: "Alan L. Cox" Cc: alpha@FreeBSD.ORG, John Baldwin Subject: Re: on the same note.. In-Reply-To: <3DCEAB0C.F2898200@imimic.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Err, well, this *is* in vm object allocation... On Sun, 10 Nov 2002, Alan L. Cox wrote: > Matthew Jacob wrote: > > > > .... > > > > In vm_object.c you or somebody had a question about atomicity in bumping > > the object generation count. What is wrong with just making that > > atomic_add_int for now? I see no locks otherwise covering it. > > It and the other vm_object fields are generally covered by Giant. I > believe that vm_object allocation and initialization are the only > activities that aren't. > > Alan > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message