Mindaugas Rasiukevicius <rm...@netbsd.org> wrote: > > pmap_pdp_ctor() abuses pmap_kenter_pa() to change the protection of an > > already existing mapping. According to rmind this is because on x86 > > pmap_protect() does not work for pmap_kernel(). > > Right. I have not had a chance to look into it yet.. > > Please fill a PR.
I failed to do it at that time, and now the bug is in 6.0_BETA. Here is the PR: kern/46092 -- Emmanuel Dreyfus http://hcpnet.free.fr/pubz m...@netbsd.org