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