Looks like use_hugetlb is not configurable anymore after this change: the value is checked only when this module is loaded (when it will have the default value in the source file) instead of when memory is allocated (when it might have been changed on the command line).

Could be that we need a 'config' module where parameters like these could already be set via e.g. command line before the modules are loaded?