tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pmap_kenter_pa: mapping already present



It is a bug that should finally get its PR :-)

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().

--
Juergen Hannken-Illjes - hannken%eis.cs.tu-bs.de@localhost - TU Braunschweig 
(Germany)

On Aug 9, 2011, at 3:31 PM, Emmanuel Dreyfus wrote:

> Hi
> 
> I have a -current Xen DOMU that randomly says:
>  pmap_kenter_pa: mapping already present
> 
> It happens in sys/arch/x86/x86/pmap.c
> That seems completely harmless, but in the code there is a comment 
>               /* This should not happen */
> 
> Is it a realy bug, or should this printf be #ifdef DEBUG ?
> 
> -- 
> Emmanuel Dreyfus
> manu%netbsd.org@localhost



Home | Main Index | Thread Index | Old Index