> On 2017/5/25 1:20, Jérôme Glisse wrote: [...] > > diff --git a/mm/Kconfig b/mm/Kconfig > > index d744cff..f5357ff 100644 > > --- a/mm/Kconfig > > +++ b/mm/Kconfig > > @@ -736,6 +736,19 @@ config ZONE_DEVICE > > > > If FS_DAX is enabled, then say Y. > > > > +config DEVICE_PRIVATE > > + bool "Unaddressable device memory (GPU memory, ...)" > > + depends on X86_64 > > + depends on ZONE_DEVICE > > + depends on MEMORY_HOTPLUG > > + depends on MEMORY_HOTREMOVE > > + depends on SPARSEMEM_VMEMMAP > > + > maybe just depends on ARCH_HAS_HMM is enough. I have updated that as part of HMM CDM patchset. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href