From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 50ED5C43441 for ; Fri, 16 Nov 2018 13:04:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 20C522087A for ; Fri, 16 Nov 2018 13:04:14 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 20C522087A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=suse.de Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389710AbeKPXQb (ORCPT ); Fri, 16 Nov 2018 18:16:31 -0500 Received: from mx2.suse.de ([195.135.220.15]:35484 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727727AbeKPXQb (ORCPT ); Fri, 16 Nov 2018 18:16:31 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 92F81AFA5; Fri, 16 Nov 2018 13:04:10 +0000 (UTC) Message-ID: <1542373433.3020.19.camel@suse.de> Subject: Re: [PATCH 2/5] mm/memory_hotplug: Create add/del_device_memory functions From: osalvador To: Dan Williams , osalvador@techadventures.net Cc: Andrew Morton , Michal Hocko , Yasuaki Ishimatsu , rppt@linux.vnet.ibm.com, malat@debian.org, Linux Kernel Mailing List , Pasha Tatashin , =?ISO-8859-1?Q?J=E9r=F4me?= Glisse , Jonathan.Cameron@huawei.com, "Rafael J. Wysocki" , David Hildenbrand , Dave Jiang , Linux MM , alexander.h.duyck@linux.intel.com Date: Fri, 16 Nov 2018 14:03:53 +0100 In-Reply-To: References: <20181015153034.32203-1-osalvador@techadventures.net> <20181015153034.32203-3-osalvador@techadventures.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.1 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > This collides with the refactoring of hmm, to be done in terms of > devm_memremap_pages(). I'd rather not introduce another common > function *beneath* hmm and devm_memremap_pages() and rather make > devm_memremap_pages() the common function. Hi Dan, That is true. Previous version of this patchet was based on yours (hmm-refactor), but then I decided to not base it here due to lack of feedback. But if devm_memremap_pages() is going to be the main/common function, I am totally fine to put the memory-hotplug specific there. > I plan to resubmit that cleanup after Plumbers. So, unless I'm > misunderstanding some other benefit a nak from me on this patch as it > stands currently. Great, then I will wait for your new patchset, and then I will base this one on that. Thanks Oscar Salvador