jemalloc: Allow opting in for THP

Some targets which have big amounts
of memory avaliable, may want to enable
THP support in the kernel.

This patch allows such targets to
set the newly introduced flag
"TARGET_SUPPORTS_THP" to mark THP
as supported and to enable enhanced
THP handling in Jemalloc.

Change-Id: Ie71ecb7e0e3be6e34d15482d723f8588c8a9268f
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
2 files changed