On Thu, Jun 7, 2018 at 7:16 AM, Jerome Glisse <jglisse@xxxxxxxxxx> wrote: [..] > HMM is self contain interface but i doubt i can convince you of that. I agree that HMM is self contained... after it completely subverts the core-mm. It's that deep understanding and working around of core memory management infrastructure that makes devm_memremap_pages() and derivatives EXPORT_SYMBOL_GPL ("considered an internal implementation issue, and not really an interface").