[libvirt] [PATCH]LXC: follow the unit style of /proc/meminfo

Daniel P. Berrange berrange at redhat.com
Mon Sep 23 10:02:57 UTC 2013


On Mon, Sep 23, 2013 at 09:10:03AM +0800, Gao feng wrote:
> On 09/18/2013 11:53 AM, Chen Hanxiao wrote:
> > From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
> > 
> > If we start libvirt_lxc with fuse complied, we could see
> > an isolate /proc/meminfo based on fuse.
> > Part of this were modified based on container's mem cgroup,
> > with the unit style of "KB";
> > rest of them were copied from /proc/meminfo, with another
> > unit style of "kB".
> > It looks a little strange.
> > 
> > We should keep pace with the style of
> > kernel function meminfo_proc_show,
> > and change all "KB" to "kB".
> > 
> > Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
> > ---
> 
> ACK
> thanks!

Pushed with a tweak to the commit message.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|




More information about the libvir-list mailing list