From owner-freebsd-hackers Tue Apr 16 16:24:34 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from imr1.aus.deuba.com (bagheera.aus.deuba.com [203.0.62.7]) by hub.freebsd.org (Postfix) with ESMTP id 09F9137B416 for ; Tue, 16 Apr 2002 16:24:31 -0700 (PDT) Received: from imr1.aus.deuba.com by imr1.aus.deuba.com id g3GNOSYw009389; Wed, 17 Apr 2002 09:24:28 +1000 (EST) Received: from merton.aus.deuba.com by imr1.aus.deuba.com id g3GNORYr009386; Wed, 17 Apr 2002 09:24:27 +1000 (EST) Received: (qmail 5105 invoked by uid 107); 16 Apr 2002 23:24:27 -0000 Message-ID: <20020416232427.5104.qmail@merton.aus.deuba.com> From: callum.gibson@db.com Subject: Re: ipcrm/shmctl failure (fix NOT found) To: tlambert2@mindspring.com Date: Wed, 17 Apr 2002 09:24:27 +1000 (EST) Cc: hackers@FreeBSD.ORG In-Reply-To: <3CB3DE99.316696E9@mindspring.com> from "tlambert2@mindspring.com" at Apr 09, 2002 11:41:29 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG tlambert2@mindspring.com writes: [ suggested fix ] [ snip ] }This looks right, to me. Sigh. With the fix as in current (decrement the vm_refcnt in the if statement) the system panics on boot with a "vmspace already free" message. With my version of the fix (only decrement if vm_refcnt) not 1 by calling vmspace_free(), the system ran for about 10 minutes and then hung. So for the moment I'll just leave it and avoid linux threads (or anything using rfork) and shared memory unless anyone else has other ideas. I can't afford the time to work out the vm code any further at the moment. C Callum Gibson callum.gibson@db.com Global Markets IT, Deutsche Bank, Australia 61 2 9258 1620 ### The opinions in this message are mine and not Deutsche's ### To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message