mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Alexander Nyberg <alexn@telia.com>
To: Jan Engelhardt <jengelh@linux01.gwdg.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: VmallocTotal meminfo
Date: Sun, 12 Jun 2005 01:39:04 +0200	[thread overview]
Message-ID: <1118533144.968.5.camel@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.61.0506112225330.2372@yvahk01.tjqt.qr>

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.


      reply	other threads:[~2005-06-11 23:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-11 20:27 Jan Engelhardt
2005-06-11 23:39 ` Alexander Nyberg [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1118533144.968.5.camel@localhost.localdomain \
    --to=alexn@telia.com \
    --cc=jengelh@linux01.gwdg.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®