public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [BUG] Description for memmap in kernel-parameters.txt is wrong
@ 2014-01-30 16:52 Andiry Xu
  2014-01-30 19:25 ` Randy Dunlap
  0 siblings, 1 reply; 8+ messages in thread
From: Andiry Xu @ 2014-01-30 16:52 UTC (permalink / raw)
  To: linux-kernel; +Cc: Andiry Xu

Hi,

In kernel-parameters.txt, there is following description:

memmap=nn[KMG]$ss[KMG]
                        [KNL,ACPI] Mark specific memory as reserved.
                        Region of memory to be used, from ss to ss+nn.

Unfortunately this is incorrect. The meaning of nn and ss is reversed.
For example:

Command                  Expected                 Result
memmap 2G$6G        6G - 8G reserved      2G - 8G reserved
memmap 6G$2G        2G - 8G reserved      6G - 8G reserved

Test kernel version 3.13, but I believe the issue has been there long ago.

I'm not sure whether the description or implementation should be
fixed, but apparently they do not match.

Thanks,
Andiry

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-01-30 23:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-30 16:52 [BUG] Description for memmap in kernel-parameters.txt is wrong Andiry Xu
2014-01-30 19:25 ` Randy Dunlap
2014-01-30 19:33   ` Andiry Xu
2014-01-30 20:26     ` Randy Dunlap
2014-01-30 22:17       ` David Rientjes
2014-01-30 22:54         ` Randy Dunlap
2014-01-30 23:43           ` Andiry Xu
2014-01-30 23:49             ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox