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: <20110603030841.GB10530@optiplex.tchesoft.com>
Date:	Fri, 3 Jun 2011 00:08:43 -0300
From:	Rafael Aquini <aquini@...ux.com>
To:	Russ Anderson <rja@....com>
Cc:	Andrew Morton <akpm@...ux-foundation.org>,
	Andrea Arcangeli <aarcange@...hat.com>,
	linux-mm <linux-mm@...ck.org>,
	linux-kernel <linux-kernel@...r.kernel.org>,
	Christoph Lameter <cl@...ux.com>, rja@...ricas.sgi.com
Subject: Re: [PATCH] [BUGFIX] mm: hugepages can cause negative commitlimit

Howdy Russ,

On Wed, Jun 01, 2011 at 11:08:31PM -0500, Russ Anderson wrote:
> 
> Yes, it fixes the inconsistency in reporting totalram_pages.
Thanks alot for the feedback.

> There seems to be another issue.  1G hugepages can be allocated at boot time, but
> cannot be allocated at run time.  "default_hugepagesz=1G hugepagesz=1G hugepages=1" on 
> the boot line works.  With "default_hugepagesz=1G hugepagesz=1G" the command
> "echo 1 > /proc/sys/vm/nr_hugepages" fails.
> 
> uv4-sys:~ # echo 1 > /proc/sys/vm/nr_hugepages
> -bash: echo: write error: Invalid argument

That's not an issue, actually. It seems to be , unfortunately, 
an implementation characteristic, due to an imposed arch constraint.
Further reference: http://lwn.net/Articles/273661/

Cheers!
-- 
Rafael Aquini <aquini@...ux.com>
--
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