lkml.org 
[lkml]   [2005]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: VmallocTotal meminfo
From
Date
lör 2005-06-11 klockan 22:27 +0200 skrev Jan Engelhardt:
> Hi,
>
>
> /proc/meminfo:
> MemTotal: 256656 kB
> MemFree: 32480 kB
> ...
> LowTotal: 256656 kB
> LowFree: 32480 kB
> SwapTotal: 530136 kB
> SwapFree: 530136 kB
> ...
> VmallocTotal: 778164 kB
> VmallocUsed: 22468 kB
> VmallocChunk: 755404 kB
>
> What's the VmallocTotal telling me? How is it calculated?
> I ask because running a surprisingly modern Linux on a surprisingly ancient
> machine results in VmallocTotal being somewhere in the 1-gigabyte range, which
> can _never_ ever be.

The kernel has one gigabyte to map on x86. In your case 256M is used for
RAM and the most of the rest can go to vmalloc. VmallocTotal merely
indicates the amount of virtual memory that can be used for vmalloc'ed
(non-contigous) mappings. There's not much more fun to do with the
remaining kernel virtual memory so...

There's really not much to it.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-12 01:43    [W:0.536 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site