Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Nov 2001 17:23:27 +0800
From:      "XuYifeng" <xuyifeng@peoplemail.com.cn>
To:        <freebsd-questions@freebsd.org>
Subject:   vm_uiomove() help
Message-ID:  <001a01c17337$58592fc0$ef01a8c0@davidwnt>

next in thread | raw e-mail | index | archive | help
Hi,

I am studying FreeBSD vm source code, currently I am blocked by
vm_uiomove() in vm_map.c, could anyone tell me why we need=20
following lines to determine if it the first_object was not replaced:

    if ((first_object->type =3D=3D OBJT_VNODE) &&
        ((oldobject =3D entry->object.vm_object) =3D=3D first_object))

I see vm_map_clip_start{end} don't replace object within that entry,
so ((oldobject =3D entry->object.vm_object) =3D=3D first_object) is =
needn't,
am I wrong?

--
Regards,
David Xu




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001a01c17337$58592fc0$ef01a8c0>