From owner-freebsd-hackers Tue Apr 16 18:19:13 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from falcon.prod.itd.earthlink.net (falcon.mail.pas.earthlink.net [207.217.120.74]) by hub.freebsd.org (Postfix) with ESMTP id 1EECF37B41A for ; Tue, 16 Apr 2002 18:19:10 -0700 (PDT) Received: from pool0108.cvx40-bradley.dialup.earthlink.net ([216.244.42.108] helo=mindspring.com) by falcon.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16xe6F-0003cw-00; Tue, 16 Apr 2002 18:19:08 -0700 Message-ID: <3CBCCD71.43EBBCD1@mindspring.com> Date: Tue, 16 Apr 2002 18:18:41 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: callum.gibson@db.com Cc: hackers@FreeBSD.ORG Subject: Re: ipcrm/shmctl failure (fix NOT found) References: <20020416232427.5104.qmail@merton.aus.deuba.com> 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 callum.gibson@db.com wrote: > 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. Heh. That's a Biiiiiiig snip. I had a huge caveat on the code doing what it did where it did it, if you'll remember. 8-). -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message