On Wed, 2017-06-14 at 14:58 -0700, Dave Hansen wrote: > > > http://www.uefi.org/sites/default/files/resources/ACPI_6_2.pdf > > > > It doesn't interact with that. HMM-CDM is a set of helper that don't > > do anything unless instructed so. So for device memory to be presented > > as HMM-CDM you need to hotplug it as ZONE_DEVICE(DEVICE_PUBLIC) which > > can be done with the helper introduced in patch 2 of this patchset. > > I guess I'm asking whether we *should* instruct HMM-CDM to manage all > coherent device memory. If not, where do we draw the line for what we > use HMM-CDM, and for what we use the core MM? Well, if you want the features of HMM ... It basically boils down to whether you have some kind of coherent processing unit close to that memory and want to manage transparent migration of pages between system and device memory, that sort of thing. Cheers, Ben. -- 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=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>