rts: Add support for hugepages

We enable/disable it through a runtime flag (-xH).

When enabled we ensure we only (de)allocate in aligned multiples of 2MB.

This is only available under x86_64 Linux. It isn't available under wasm and i386.

Relates to #24760

Edited by Teo Camarasu

Merge request reports

Loading