Re: [PATCH] [BUGFIX] mm: hugepages can cause negative commitlimit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxxx  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]