Subject: Re: port-mac68k/29179
To: None <tech-kern@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: tech-kern
Date: 02/06/2005 09:05:47
In article <1107225919.432300.1940.nullmailer@yamt.dyndns.org>
yamt@mwd.biglobe.ne.jp wrote:

> there're ports whose cpu_startup does uvm_map_protect in order to
> prevent COW on kernel text and NULL.
> i don't see why they're needed.  iirc, these areas of kernel_map
> should be reserved by uvm_km_init.  (assuming pmap_virtual_space, etc works.)
> is there something special for these ports?  or can i just remove
> these uvm_map_protect?

There is a scenario in the commit log:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/hp300/hp300/machdep.c#rev1.74
but I'm not sure if it's still the matter.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp