Re: [PATCH] mm/hmm: struct hmm is only use by HMM mirror functionality
From: Andrew Morton
Date: Fri Aug 25 2017 - 16:01:53 EST
On Thu, 24 Aug 2017 20:42:26 -0400 jglisse@xxxxxxxxxx wrote:
> The struct hmm is only use if the HMM mirror functionality is enabled
> move associated code behind CONFIG_HMM_MIRROR to avoid build error if
> one enable some of the HMM memory configuration without the mirror
> feature.
It's unclear whether this patch is in addition to Arnd's "mm: HMM always
needs MMU_NOTIFIER" or is a replacement for it. (If the latter, it
should have Arnd's Reported-by). But I cannot get this patch to apply
cleanly in either situation.
So I'll skip both patches. Please send something which applies on top
of
hmm-heterogeneous-memory-management-documentation-v3.patch
mm-hmm-heterogeneous-memory-management-hmm-for-short-v5.patch
mm-hmm-mirror-mirror-process-address-space-on-device-with-hmm-helpers-v3.patch
mm-hmm-mirror-helper-to-snapshot-cpu-page-table-v4.patch
mm-hmm-mirror-device-page-fault-handler.patch
mm-memory_hotplug-introduce-add_pages.patch
mm-zone_device-new-type-of-zone_device-for-unaddressable-memory-v5.patch
mm-zone_device-new-type-of-zone_device-for-unaddressable-memory-fix.patch
mm-zone_device-special-case-put_page-for-device-private-pages-v4.patch
mm-memcontrol-allow-to-uncharge-page-without-using-page-lru-field.patch
mm-memcontrol-support-memory_device_private-v4.patch
mm-hmm-devmem-device-memory-hotplug-using-zone_device-v7.patch
mm-hmm-devmem-dummy-hmm-device-for-zone_device-memory-v3.patch
mm-migrate-new-migrate-mode-migrate_sync_no_copy.patch
mm-migrate-new-memory-migration-helper-for-use-with-device-memory-v5.patch
mm-migrate-migrate_vma-unmap-page-from-vma-while-collecting-pages.patch
mm-migrate-support-un-addressable-zone_device-page-in-migration-v3.patch
mm-migrate-allow-migrate_vma-to-alloc-new-page-on-empty-entry-v4.patch
mm-device-public-memory-device-memory-cache-coherent-with-cpu-v5.patch
mm-hmm-add-new-helper-to-hotplug-cdm-memory-region-v3.patch
#
mm-hmm-avoid-bloating-arch-that-do-not-make-use-of-hmm.patch
thanks.