lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOvWMLa334E8CYJLrHy6-0ZXBRneoMf-05v422SQw+dbGRubow@mail.gmail.com>
Date:	Thu, 30 Jan 2014 08:52:54 -0800
From:	Andiry Xu <andiry@...il.com>
To:	linux-kernel@...r.kernel.org
Cc:	Andiry Xu <andiry.xu@...il.com>
Subject: [BUG] Description for memmap in kernel-parameters.txt is wrong

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ