Re: /proc/kcore size incorrect ? (OT)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux