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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.02.1401301416030.15271@chino.kir.corp.google.com>
Date:	Thu, 30 Jan 2014 14:17:28 -0800 (PST)
From:	David Rientjes <rientjes@...gle.com>
To:	Randy Dunlap <rdunlap@...radead.org>
cc:	Andiry Xu <andiry@...il.com>, linux-kernel@...r.kernel.org,
	Andiry Xu <andiry.xu@...il.com>, Linux MM <linux-mm@...ck.org>
Subject: Re: [BUG] Description for memmap in kernel-parameters.txt is wrong

On Thu, 30 Jan 2014, Randy Dunlap wrote:

> >>> 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.
> >>
> >> Should be:
> >>                           Region of memory to be reserved, from ss to ss+nn.
> >>
> >> but that doesn't help with the problem that you describe, does it?
> >>
> > 
> > Actually it should be:
> >                              Region of memory to be reserved, from nn to nn+ss.
> > 
> > That is, exchange nn and ss.
> 
> Yes, I understand that that's what you are reporting.  I just haven't yet
> worked out how the code manages to exchange those 2 values.
> 

It doesn't, the documentation is correct as written and could be improved 
by your suggestion of "Region of memory to be reserved, from ss to ss+nn."  
I think Andiry probably is having a problem with his bootloader 
interpreting the '$' incorrectly (or variable expansion if coming from the 
shell) or interpreting the resulting user-defined e820 map incorrectly.
--
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