From owner-cvs-all@FreeBSD.ORG Wed Jun 9 19:06:49 2004 Return-Path: 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 27C8816A4D0 for ; Wed, 9 Jun 2004 19:06:49 +0000 (GMT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id A8B9C43D39 for ; Wed, 9 Jun 2004 19:06:48 +0000 (GMT) (envelope-from silby@silby.com) Received: (qmail 43729 invoked from network); 9 Jun 2004 19:06:42 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 9 Jun 2004 19:06:42 -0000 X-pair-Authenticated: 209.68.2.70 Date: Wed, 9 Jun 2004 14:06:40 -0500 (CDT) From: Mike Silbersack To: Pawel Jakub Dawidek In-Reply-To: <20040609190258.GY12007@darkness.comp.waw.pl> Message-ID: <20040609140517.L17265@odysseus.silby.com> References: <20040609182041.GV12007@darkness.comp.waw.pl> <20040609190258.GY12007@darkness.comp.waw.pl> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed cc: cvs-src@FreeBSD.org cc: phk@phk.freebsd.dk cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: panic("boring") was: Re: cvs commit: src/sys/kern kern_proc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 19:06:49 -0000 On Wed, 9 Jun 2004, Pawel Jakub Dawidek wrote: > +> > (thread2 sets ref_cnt to 0, but thread1 destroys objects) we free object > +> > only once. Cool, I like it:) > +> > +> the reference count must never be read or written after the [cleanup] > +> because it may free the page on which teh counter is kept. > > Right... Nice catch. So Bosko probebly have to rethink his model. Due to the length and unimportance of this thread, I officially dub it: "Locking the Bikeshed" Well, at least we're done painting it... Mike "Silby" Silbersack