WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] [PATCH][Take 3] Sysfs Interface for balloon driver

To: "'John Levon'" <levon@xxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH][Take 3] Sysfs Interface for balloon driver
From: "Satoshi Uchida" <s-uchida@xxxxxxxxxxxxx>
Date: Thu, 5 Oct 2006 15:47:41 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 04 Oct 2006 23:49:35 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20061005004926.GA7423@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcboGCQmaCA1PSt4RzOsoakeEc3YWAAKT/uw
Hi, John

The final patch ('kibi_bytes' representation) is made by following reason.

Anyone may be wavered in judgment that which is the character 'b' 'bytes' or 
'bit' ,
and similarly does the character 'k' 1000 or 1024.
Many people will be judged rightly by some reason, for example,
'b' is bytes because corresponding memory or 'k' means 1024 of using within 
computer.

However, as explaining at the previous mail,
in general, 'b' and 'B' is used for representation bits and bytes, respectively.
Similarly, 'k' and 'K' indicate 1000 and 1024m respectively.
(In IEC, the latter is used the character 'Ki' (called kibi, kilobinary))

Therefore, in this time, it will be right to use the character 'KB' ('KiB').
But, your saying, the rest of sysfs is in lowercase.
(In actual, the 'kb' is also used under /sys/block)
Therefore, they occur contradiction.

I think that its cause is to abbreviate, and no problems if not abbreviate.
So, in this time, I use 'kibi_bytes'.
In actual, the 'bytes' is used under /sys/class/net.
(This reason may be that only 'B' is not much to look at.)
I think that it is important for everyone to can understand right immediately
more than to abbreviate (the character is a few or only a certain person is 
familiar).


Thanks,
Satoshi UCHIDA



> -----Original Message-----
> From: John Levon [mailto:levon@xxxxxxxxxxxxxxxxx] 
> Sent: Thursday, October 05, 2006 9:49 AM
> To: Satoshi Uchida
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; 'Petersson, Mats'
> Subject: Re: [Xen-devel] [PATCH][Take 3] Sysfs Interface for 
> balloon driver
> 
> On Thu, Oct 05, 2006 at 09:15:04AM +0900, Satoshi Uchida wrote:
> 
> > I modified units (filename) in the patch.
> 
> All seems a bit unnecessary (too wordy). Can you explain 
> what's wrong with "foo_kb" as more than one person has suggested?
> 
> thanks
> john
> 


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel