From owner-freebsd-questions Thu Nov 22 0:25:18 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 DDB9437B417 for ; Thu, 22 Nov 2001 00:25:14 -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 QAA23232 for ; Thu, 22 Nov 2001 16:32:14 +0800 Message-ID: <004a01c1732e$abb21870$ef01a8c0@davidwnt> From: "David Xu" To: Subject: vm_uiomove help Date: Thu, 22 Nov 2001 16:21:22 +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