From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932691AbdHYUBs (ORCPT ); Fri, 25 Aug 2017 16:01:48 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46116 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932556AbdHYUBr (ORCPT ); Fri, 25 Aug 2017 16:01:47 -0400 Date: Fri, 25 Aug 2017 13:01:46 -0700 From: Andrew Morton To: jglisse@redhat.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, Arnd Bergmann , Stephen Rothwell , Subhash Gutti , Evgeny Baskakov Subject: Re: [PATCH] mm/hmm: struct hmm is only use by HMM mirror functionality Message-Id: <20170825130146.81f28f23a06a22b55270074a@linux-foundation.org> In-Reply-To: <1503621746-17876-1-git-send-email-jglisse@redhat.com> References: <20170824230850.1810408-1-arnd@arndb.de> <1503621746-17876-1-git-send-email-jglisse@redhat.com> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 24 Aug 2017 20:42:26 -0400 jglisse@redhat.com 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.