lkml.org 
[lkml]   [2009]   [Sep]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Wrong Vmalloc numbers in /proc/meminfo
On Mon, 28 Sep 2009 18:56:08 +0200
Frans Pop <elendil@planet.nl> wrote:

> On Monday 28 September 2009, KAMEZAWA Hiroyuki wrote:
> > > VmallocTotal: 34359738367 kB
> > > VmallocUsed: 340084 kB
> > > VmallocChunk: 34359387131 kB
> > >
> > > Is it me or are VmallocTotal and VmallocChunk off by a factor 10,000
> > > or so?
> >
> > I'm sorry I misunderstand your 10,000 implies.
>
> What I meant is: is the Vmalloc area really 32 *terra*bytes in size?
> Seems rather big for a system with only 2GB RAM.
>
VmallocTotal means "available address space size for VMALLOC"
It's fixed size as VMALLOC_END - VMALLOC_START.
VmallocChunk just means "free space in VMALLOC area".
Both of them are not related to size of RAM.

> I'd never noticed it before and it looks strange to me, but I guess it's
> just the result of having 64-bit addressing: a theoretically addressable
> area most of which will never actually be used?
>
you're right. Most of space will never used.

Regards,
-Kame



\
 
 \ /
  Last update: 2009-09-29 02:03    [W:0.453 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site