From owner-freebsd-alpha Sun Nov 10 10:53: 8 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 435BC37B401; Sun, 10 Nov 2002 10:53: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 D936143E42; Sun, 10 Nov 2002 10:53:06 -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 NAA00473; Sun, 10 Nov 2002 13:53:01 -0500 (EST) [ConcentricHost SMTP Relay 1.14] Message-ID: <3DCEAB0C.F2898200@imimic.com> Date: Sun, 10 Nov 2002 12:53:00 -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: mjacob@feral.com Cc: alpha@FreeBSD.ORG, John Baldwin Subject: Re: on the same note.. References: Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit 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 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