Messages in this thread | | | Subject | Re: /proc/kcore size | Date | Mon, 12 Jan 2004 10:00:19 -0800 | From | "Luck, Tony" <> |
| |
> Problem: it detects the memory amount in the box by stat'ing /proc/kcore. > Thats not the problem, but that the box has 1Gb of memory, and kcore is just > 896Mb big.
It may not be the specific problem that you have now, but it is a problem in general. The size of /proc/kcore may be a good approximation for the amount of memory on machines that have contiguous physical memory starting at a base physical address of 0x0, but on an increasing number of machines it may give a grossly inflated value (perhaps an SGI Altix user will post the output from "ls -l /proc/kcore").
-Tony Luck
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |