From: Keir Fraser Subject: Re: [Patch] by default don't give all memory to dom0 Date: Fri, 19 Aug 2005 09:31:16 +0100 Message-ID: <10bc936eb65263c33b73ce93f0a049d3@cl.cam.ac.uk> References: <20050818122413.C17270@unix-os.sc.intel.com> <4304E6A1.7090800@blueyonder.co.uk> <20050818132826.A19322@unix-os.sc.intel.com> <430503E9.8040200@blueyonder.co.uk> <20050818171319.B19322@unix-os.sc.intel.com> Mime-Version: 1.0 (Apple Message framework v622) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20050818171319.B19322@unix-os.sc.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Siddha, Suresh B" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org 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. -- Keir