This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [Patch] by default don't give all memory to dom0

On Fri, Aug 19, 2005 at 09:31:16AM +0100, Keir Fraser wrote:
> On 19 Aug 2005, at 01:13, Siddha, Suresh B wrote:
> >> If Kbytes is to be the default unit, then that default should 
> >> probably be
> >> encoded in 'parse_size_and_unit', rather than having code like the 
> >> above
> >> convert from bytes to Kbytes in many places.
> >
> > For "mem=" option, default unit is bytes. I think we should go with the
> > linux style and make the default unit as bytes. If no one has any 
> > objections,
> > then I can send a patch for it.
> Changing it will annoy people who are used to 2.0-style dom0_mem= 
> parameter. There is no good reason to change it: it's documented and, 
> if you want to avoid confusion, just stick a unit symbol on the end.

And with the overnight changeset #6256, you changed the default behavior of 
"mem=" to kilobytes.

We had to change one or the other to achieve commonality.


Xen-devel mailing list