My original patch for this just skipped the GHES->offline process for huge pages. But I wasn't aware of the sysctl control. That provides a better solution.
Tony, does that mean you're OK with using the existing sysctl interface? If so, I'll just send a separate patch to update the sysfs-memory-page-offline documentation and drop the rest.
Kyle,
It depends on which camp the external customer that reported this falls into:
1) "I'm OK disabling all soft offline requests".
or the:
2) "I'd like 4K pages to still go offline if the BIOS asks, just not any huge pages".
Shawn: Can you please find out?
-Tony