Re: [Libhugetlbfs-devel] [PATCH] Replace fixed address shm attachment by an random one

2011-12-07 Thread Eric B Munson
On Tue, 08 Nov 2011, Bill Carson wrote: > Original fixed address at 0x8000 will fail when calling shmat on ARM. > Use the address system provide for us will prevent this failure. > Moreover, add cleanup when shmat failed to release reserved huge pages > otherwise paranoid pool check will fail

[Libhugetlbfs-devel] [PATCH 2/3 V2] Add support to hugeadm for configuring transparent huge pages

2011-12-07 Thread Eric B Munson
Transparent huge pages (THP) have two tunables in sysfs used to control the behavior of khugepaged. This patch adds the support for controlling these tunables via hugeadm options. Signed-off-by: Eric B Munson Acked-by: Andrew Hastings Cc: a...@cray.com Cc: da...@gibson.dropbear.id.au --- huge

[Libhugetlbfs-devel] [PATCH 3/3 V2] Add controls to hugectl for new THP related env variables

2011-12-07 Thread Eric B Munson
This patch adds controls for the new THP related functionality in the library. Signed-off-by: Eric B Munson Acked-by: Andrew Hastings Cc: a...@cray.com Cc: da...@gibson.dropbear.id.au --- hugectl.c | 17 - man/hugectl.8 |5 + 2 files changed, 21 insertions(+), 1 d

[Libhugetlbfs-devel] [PATCH 0/3 V2] Extend morecore functionality to better use THP

2011-12-07 Thread Eric B Munson
Changes from V1: * Add note to HOWTO that the HEAPBASE option is not used with THP morecore * Change warning in thp_morecore to more accurately reflect the problem discovered Transparent huge pages (THP) make using huge pages on x86(_64) incredibly easy. However, the standard glibc malloc is not

[Libhugetlbfs-devel] [PATCH 1/3 V2] Add support for THP in morecore

2011-12-07 Thread Eric B Munson
Transparent huge pages (THP) give another option for access to huge pages for anonymous mappings. This patch adds the ability to specify that the process heap should be aligned and (if requested madvised) to be merged into huge pages by khugepaged. For more information on THP see linux-2.6/Docume