Transparent Huge Pages are enabled by default in alot of linux systems. The kernel attempts to allocate hugepages whenever possible and any Linux process will receive 2MB pages if the mmap region is 2MB naturally aligned. The main kernel address space itself is mapped with hugepages, reducing TLB pressure from kernel code. For general information on Hugepages,
see: What are Huge Pages and what are the advantages of using them?
This currently just makes and RPM for RHEL based systems. It will work on RHEL7 which uses systemd. But I will updated it eventually for all Linux distros.