From owner-freebsd-alpha Sun Nov 10 19:30:46 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 8E2A937B401; Sun, 10 Nov 2002 19:30:45 -0800 (PST) Received: from beppo.feral.com (beppo.feral.com [192.67.166.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 09BD843E91; Sun, 10 Nov 2002 19:30:45 -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 gAB3UgZ63765; Sun, 10 Nov 2002 19:30:42 -0800 (PST) (envelope-from mjacob@feral.com) Date: Sun, 10 Nov 2002 19:30:42 -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: <3DCF1DD7.B472A23A@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 On Sun, 10 Nov 2002, Alan L. Cox wrote: > Matthew Jacob wrote: > > > > > Matthew Jacob wrote: > > > > > > > > Err, well, this *is* in vm object allocation... > > > > > > Ah, I see what you're talking about now. Until the vm object has been > > > returned by the allocation routine it is not shared data. The > > > generation count is used to detect changes in the list of resident pages > > > by sleeping processes, not to detect that the same storage is being > > > recycled for a new object. > > > > > > > Well, if this is the case, the allocator shouldn't be just incrementing > > it, should it? Shouldn't it always start at zero? > > Basically, yes. This increment has existed for almost five years. At > this point, it only exists by inertia. DTRT then - at least remove the 'atomic XXX?' comment. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message