Re: [PATCH] Updated Documentation/kernel-parameters.txt (resent, v3)

GertJan Spoelman (kl@gjs.cc)
Wed, 27 Nov 2002 13:04:11 +0100


On Sunday 24 November 2002 16:48, Petr Baudis wrote:
> Dear diary, on Sat, Nov 23, 2002 at 04:17:08PM CET, I got a letter,
> where GertJan Spoelman <kl@gjs.cc> told me, that...
>
> > parameter. To me it looks like the mem parameter can now only be used to
> > specify less memory then the kernel actually recognizes.
>
> Huh.. That could be some bug actually.. try to report this in a separate
> mail with some attractive subject ;-).

I have looked further into this, but it seemes intentional, if you look at the
comment in arch/i386/kernel/setup.c of 2.4.20-rc4 it says:
If the user specifies memory size, we limit the BIOS-provided memory map to
that size. exactmap can be used to specify the exact map. mem=number can be
used to trim the existing memory map.

The comment in 2.4.18 was: If the user specifies memory size, we blow away any
automatically generated size.

If you still think it's a bug, let me know and I'll report it in a seperate
mail.

> > Also can you add how to use the mem=exactmap parameter, it says now that
> > such lines can be constructed based on BIOS output or other requirements,
> > that doesn't tell me how such a line should look like, I only found out
> > how to use it by searching through posts on lkml, maybe you can add the
> > above append lines as an example.
>
> Thanks for the idea, done.

Thanks.

-- 

GertJan - 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/