From: Ian Jackson Subject: Re: 2.6.28 and balloon driver Date: Wed, 7 Jan 2009 11:41:39 +0000 Message-ID: <18788.38131.316953.781779@mariner.uk.xensource.com> References: <97b13c3d-f315-4130-ab73-cd4226105638@default> <1231322723.5448.15.camel@zakaz.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1231322723.5448.15.camel@zakaz.uk.xensource.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: Ian Campbell Cc: Dan Magenheimer , "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org Ian Campbell writes ("Re: [Xen-devel] 2.6.28 and balloon driver"): > Looks like the write function uses memparse which understands the M, K > etc suffixes and defaults to bytes. The ability to say balloon to M > is quite nice but for the sake of consistency with the name it's > probably preferable to just treat the value as a number of Kbytes. Since you're changing the name anyway, can't we change the users of the file to understand the new units too ? Ie, I think we should have /sys/devices/system/xen_memory/xen_memory0/targe which when read produces a number of bytes and which uses the default memparse function. If nothing else this is more likely to be something upstream mind less. Ian.