From: John Levon Subject: Re: [PATCH] Sysfs Interface for balloon driver Date: Wed, 20 Sep 2006 02:12:35 +0100 Message-ID: <20060920011235.GA7931@totally.trollied.org> References: <007c01c6dc4b$72ca3430$4c87380a@ad.spf.cl.nec.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <007c01c6dc4b$72ca3430$4c87380a@ad.spf.cl.nec.co.jp> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Satoshi Uchida Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Wed, Sep 20, 2006 at 09:26:43AM +0900, Satoshi Uchida wrote: > [root@Dom0 ~]# cat /sys/bus/xen/drivers/balloon/statistics/balloon_high > 0 kB It's very unusual to have units in a sysfs node. I believe this should just be the number, and documented elsewhere what the units are. I also don't quite get the location. I don't quite think of balloon as a real "driver" as such, it's core kernel functionality rather. Wouldn't /sys/hypervisor/properties/balloon/ be a more sensible place? regards, john