On Tue, Dec 14, 2010 at 08:47:25PM +0530, naveen yadav wrote:
> Hi All,
>
> I have one question, if I do cat /proc/meminfo
>
> and do sum of VmallocTotal (114680 kB)=VmallocUsed(4440
> kB)+VmallocChunk(109804 kB)
> is not equal, there is difference. why it is there ? is it related for
> ioremap ?.
> 2. Is MemTotal= VmallocTotal + Other parts ?
>
>
>
> $ cat /proc/meminfo
> MemTotal: 4131168 kB
> MemFree: 643464 kB
> Buffers: 316116 kB
> Cached: 2815924 kB
> SwapCached: 236 kB
> Active: 1515848 kB
> Inactive: 1668704 kB
> HighTotal: 3260052 kB
> HighFree: 418304 kB
> LowTotal: 871116 kB
> LowFree: 225160 kB
> SwapTotal: 2072376 kB
> SwapFree: 2071084 kB
> Dirty: 16 kB
> Writeback: 0 kB
> AnonPages: 52352 kB
> Mapped: 18280 kB
> Slab: 177176 kB
> SReclaimable: 158536 kB
> SUnreclaim: 18640 kB
> PageTables: 4476 kB
> NFS_Unstable: 0 kB
> Bounce: 0 kB
> WritebackTmp: 0 kB
> CommitLimit: 4137960 kB
> Committed_AS: 201336 kB
> VmallocTotal: 114680 kB
> VmallocUsed: 4440 kB
> VmallocChunk: 109804 kB
> HugePages_Total: 0
> HugePages_Free: 0
> HugePages_Rsvd: 0
> HugePages_Surp: 0
> Hugepagesize: 2048 kB
> DirectMap4k: 4096 kB
> DirectMap2M: 913408 kB
Sorry that I don't have a complete answer, but IIRC, the VmallocChunk
just the largest chunk of the vmalloc region that is unused (so, its a
sort of cheap measure of how fragmented the region is) - not the measure
of how much unused vmalloc address space there is.
--
joshc
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ