mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Tony Luck <tony.luck@gmail.com>
To: "J.A. Magallon" <jamagallon@able.es>
Cc: Eric Piel <eric.piel@tremplin-utc.net>,
	jonathan@jonmasters.org, jonmasters@gmail.com,
	"Linux-Kernel," <linux-kernel@vger.kernel.org>
Subject: Re: /proc/kcore size incorrect ? (OT)
Date: Tue, 25 Oct 2005 11:04:12 -0700	[thread overview]
Message-ID: <12c511ca0510251104s5b1fbb10u17b6146528793ad8@mail.gmail.com> (raw)
In-Reply-To: <36402397-77C9-49A7-A143-2C672FC90934@able.es>

> My concerns were about if the size of /proc/kcore should be what it is
> now, and why...

/proc/kcore is an ELF format file (try using objdump(1) to read
headers from it).

The data within the file may be sparse (especially on discontig
and NUMA systems).  So the size just represents the end of
the highest addressed memory section.  E.g. on my desktop:

$ ls -l /proc/kcore
-r--------  1 root root 4611686019496083456 Oct 25 09:52 /proc/kcore

-Tony

      reply	other threads:[~2005-10-25 18:04 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-23 21:58 /proc/kcore size incorrect ? J.A. Magallon
2005-10-23 23:13 ` Jon Masters
2005-10-23 23:57   ` J.A. Magallon
2005-10-24 12:02     ` Jon Masters
2005-10-24 14:19     ` Stefan Smietanowski
2005-10-25 12:04     ` Matan Peled
2005-10-25 13:37       ` Brian Waite
2005-10-25 16:02     ` /proc/kcore size incorrect ? (OT) Eric Piel
2005-10-25 16:06       ` J.A. Magallon
2005-10-25 18:04         ` Tony Luck [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=12c511ca0510251104s5b1fbb10u17b6146528793ad8@mail.gmail.com \
    --to=tony.luck@gmail.com \
    --cc=eric.piel@tremplin-utc.net \
    --cc=jamagallon@able.es \
    --cc=jonathan@jonmasters.org \
    --cc=jonmasters@gmail.com \
    --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®