http://lkml.org/lkml/2008/6/24/360On 24 jun 2008, at 08:15, Pekka Enberg wrote: >> For example I would expect that >> MemTotal = MemFree + Buffers + Cached + AnonPages + Mapped + Slab. >> Is that a valid assumption? > > Yes. > >> Why does it not hold for my machine? >> Is this a bug in the memory statistics? >> What part of the system is using all this untraceable memory? > > Likely a driver leaking full pages. But if it is leaking pages, it must have first allocated them somehow. So I would expect that to show up in /proc/meminfo under "Drivers" or under "Pages allocated through such and such mechanism". In any case /proc/meminfo is currently giving me an incomplete picture. > Your config and dmesg would be > helpful. Last time I bumped into this, though, was with a proprietary > module... Not running any of those. I'm including lsmod, dmesg and config. The OOM kill in dmesg happened after I had discovered the problem, so it can not be the cause. I have been running similar configurations for years without problems. But I recently upgraded to Linux 2.6.25, which forced me to select CONFIG_SPARSEMEM instead of CONFIG_FLATMEM. I find that a little suspicious. Thanks for your time so far, Joris. |
