Date: Thu, 1 Nov 2001 08:41:54 +0800 From: "David Xu" <davidx@viasoft.com.cn> To: <freebsd-hackers@freebsd.org> Subject: pmap_collect() and PG_UNMANAGED Message-ID: <000f01c1626e$011ac220$ef01a8c0@davidwnt>
next in thread | raw e-mail | index | archive | help
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content=3D"text/html; charset=3Dgb2312" http-equiv=3DContent-Type> <META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#ffffff> <DIV><FONT size=3D2>Hi,<BR><BR> is there any reason why = pmap_collect() in=20 /sys/i386/i386/pmap.c does not<BR> check PG_UNMANAGED flag? = unmanaged page=20 does not have pv_entry associated,<BR> so call pmap_remove_all() = has side=20 effect, PG_MAPPED and PG_WRITEABLE are <BR> roughly=20 cleared.<BR><BR>--</FONT></DIV> <DIV><FONT size=3D2>David Xu</FONT></DIV> <DIV><FONT size=3D2> </DIV></FONT></BODY></HTML> ------=_NextPart_000_000C_01C162B1.0ECE7770-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000f01c1626e$011ac220$ef01a8c0>