Port-xen archive

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

Re: hw.physmem



On Mon, Mar 20, 2006 at 10:26:46PM -0500, Jed Davis wrote:
> I've noticed that the Xen port seem to be excluding the memory taken
> up by the kernel image from the physmem variable, while e.g. the i386
> port doesn't.  So, I made it not do that (and adjusted uvmexp.wired so
> that hw.usermem would continue to not show that space).
> 
> Is this the Wrong Thing for some reason I don't yet know about?

No, I think that things are this way as a side effect of how the Xen kernel
is bootstrapped. You patch looks good.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index