So we're really only concerned about:
* AnonHugePages
* ShmemHugePages
* FileHugePages
The question is if we really want to continue extending/adjusting the old meminfo interfaces and talk about how to perform accounting there.
Because, as we learned, we might get a new file-based sysfs based interface, because Greg seems to be against exposing new values in the old single-file-based one.
I am not aware of this. And it is interesting. Do you have a pointer?
In a new one, we have all freedom to expose what we actually want nowadays, and can just document that the old interface was designed with the assumption that there is only a single THP size.
This sounds like a good strategy and hopefully we could design the new THP interface
more future proof.