Messages in this thread | | | Date | Fri, 3 Jun 2011 00:08:43 -0300 | From | Rafael Aquini <> | 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@linux.com>
| |