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>
index | next in thread | raw e-mail
[-- Attachment #1 --] 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 roughly cleared. -- David Xu [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=gb2312" http-equiv=Content-Type> <META content="MSHTML 5.00.2920.0" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT size=2>Hi,<BR><BR> is there any reason why pmap_collect() in /sys/i386/i386/pmap.c does not<BR> check PG_UNMANAGED flag? unmanaged page does not have pv_entry associated,<BR> so call pmap_remove_all() has side effect, PG_MAPPED and PG_WRITEABLE are <BR> roughly cleared.<BR><BR>--</FONT></DIV> <DIV><FONT size=2>David Xu</FONT></DIV> <DIV><FONT size=2> </DIV></FONT></BODY></HTML>help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000f01c1626e$011ac220$ef01a8c0>
