From owner-freebsd-hackers Wed Oct 31 16:44:25 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from mail.viasoft.com.cn (unknown [61.153.1.177]) by hub.freebsd.org (Postfix) with ESMTP id 6673837B403 for ; Wed, 31 Oct 2001 16:44:16 -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 IAA07441 for ; Thu, 1 Nov 2001 08:50:20 +0800 Message-ID: <000f01c1626e$011ac220$ef01a8c0@davidwnt> From: "David Xu" To: Subject: pmap_collect() and PG_UNMANAGED Date: Thu, 1 Nov 2001 08:41:54 +0800 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000C_01C162B1.0ECE7770" 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-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_000C_01C162B1.0ECE7770 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: quoted-printable Hi, is there any reason why pmap_collect() in /sys/i386/i386/pmap.c does = not check PG_UNMANAGED flag? unmanaged page does not have pv_entry = associated, so call pmap_remove_all() has side effect, PG_MAPPED and PG_WRITEABLE = are=20 roughly cleared. -- David Xu ------=_NextPart_000_000C_01C162B1.0ECE7770 Content-Type: text/html; charset="gb2312" Content-Transfer-Encoding: quoted-printable
Hi,

  is there any reason why = pmap_collect() in=20 /sys/i386/i386/pmap.c does not
  check PG_UNMANAGED flag? = unmanaged page=20 does not have pv_entry associated,
  so call pmap_remove_all() = has side=20 effect, PG_MAPPED and PG_WRITEABLE are
  roughly=20 cleared.

--
David Xu
 
------=_NextPart_000_000C_01C162B1.0ECE7770-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message