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 
>                                       <[EMAIL PROTECTED]>

 Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
 [EMAIL PROTECTED]                    `------------------------------'

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to