Thinking about this some more, if arch_init does not do anything host-specific, is there any reason FILE_MODE should not be able support the page modes other architectures? Moving the logic for setting up all 4 supported arch here would make that clear and make it easier to understand the memory management of vmi_instance->arch.