i booted up my linux with command line parameter
mem=32M,
but my machine actually had 128M RAM. and from KDB
i inspected
num_physpages which showed me only 32M
thanx
Mike Galbraith wrote:
>
> On Wed, 11 Jul 2001, N. Varadarajan wrote:
>
> > Hi,
> > Is there a way to know the amount of physical RAM
> > present in the system from a loadable kernel
> > module
>
> Yes.. num_physpages is an exported symbol.
>
> -Mike
-
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/