:Well, first the question must be answered, in an absolute yes or no:
:is it wrong in the first place to have OBJ_ONEMAPPING set with a ref_count
:of more than 1?  I'd accept an authoritative answer about this from
:alc, dillon, dyson, or luoqi, who are all very familiar with the new
:VM.
:--
: Brian Fundakowski Feldman           \  FreeBSD: The Power to Serve!  /
: [EMAIL PROTECTED]                    `------------------------------'

    It is totally legal for OBJ_ONEMAPPING to be set even if the ref_count
    is greater then 1.  The ref_count has no bearing on the shareability
    of the object any more.  The tests were there before due to all sorts
    of crud that had been hacked in in the 2.2.x and 3.x era to get around
    serious bugs in the OBJ_ONEMAPPING flag and elsewhere in the VM system.

    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.

                                        -Matt
                                        Matthew Dillon 
                                        <[EMAIL PROTECTED]>


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

Reply via email to