Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2000 18:12:22 -0400 (EDT)
From:      Brian Fundakowski Feldman <green@FreeBSD.org>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Alfred Perlstein <bright@wintelcom.net>, Michael Reifenberger <root@nihil.plaut.de>, current@FreeBSD.ORG, alc@FreeBSD.ORG
Subject:   Re: panic: vm_object_shadow: source object has OBJ_ONEMAPPING set.
Message-ID:  <Pine.BSF.4.21.0004151810080.17351-100000@green.dyndns.org>
In-Reply-To: <200004151823.LAA79731@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 15 Apr 2000, Matthew Dillon wrote:

>     Note that the ref_count == 1 test in the vm_object_shadow optimization
>     should be left intact.  This optimization requires a much stricter set
>     of tests because we do not want to assume sharability of an object
>     if someone else (the 'else' being 'someone unknown to us') has a reference
>     on it, even if OBJ_ONEMAPPING is set.

The KASSERT is broken in another way, BTW: it has undefined (read:
panic before the test even occurs) results if source is NULL, which
vm_object_shadow otherwise handles.  I don't know why it's never been
tripped on, though...

> 					-Matt
> 					Matthew Dillon 
> 					<dillon@backplane.com>

--
 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 green@FreeBSD.org                    `------------------------------'



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0004151810080.17351-100000>