From owner-freebsd-questions Thu Nov 22 1:27:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 44EF837B416 for ; Thu, 22 Nov 2001 01:27:20 -0800 (PST) Received: from davidwnt (davidwnt.viasoft.com.cn [192.168.1.239]) by mail.viasoft.com.cn (8.9.3/8.9.3) with SMTP id RAA23549 for ; Thu, 22 Nov 2001 17:34:18 +0800 Message-ID: <001a01c17337$58592fc0$ef01a8c0@davidwnt> From: "XuYifeng" To: Subject: vm_uiomove() help Date: Thu, 22 Nov 2001 17:23:27 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6700 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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