I would like to use a linux version in which only 2MB pages are used (i.e., no libhugetlbfs and transparent huge pages). From other similar questions (e.g., Linux use huge pages only), I understood that it is not possible using the current kernel version.
I am really interested in doing this, and I will try to modify the kernel to do it. Can you give me some advices in order to create a very minimal kernel version in which only 2MB page are used?