Re: VmallocTotal meminfo
From: Alexander Nyberg
Date: Sat Jun 11 2005 - 18:40:44 EST
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/