Subject: Re: hw.physmem
To: Jed Davis <jdev@panix.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-xen
Date: 03/21/2006 18:13:37
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>
     NetBSD: 26 ans d'experience feront toujours la difference
--