Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2202508ybi; Mon, 17 Jun 2019 00:16:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHqTutHpPJ/zuAdVmkrlTO4YPobletLmCvnTTI1nDPIrBvje+tCUKMlDkkcZS4h7IEJG8W X-Received: by 2002:a17:90b:d8b:: with SMTP id bg11mr24714330pjb.30.1560755788750; Mon, 17 Jun 2019 00:16:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560755788; cv=none; d=google.com; s=arc-20160816; b=Z8duJ4ikOTEMTi2Ou3/KeEsNvMyKsAjZmY2ibj9OWZh/ROv7676hLQG9RSYLDEkjBu fn1VxzUX8v3eQqGKl7zMbzkmFIyE19BZIX+h25ss1RUKk3FKQ1FuWJ4l6VeEPtNBU/Ln REaX+E9NWOfDiHWdgmFX+2VBxoAOYtfAorGM7uip2aJxONV60zOV05kiwmw0wY/heHbn JUjE0V1Ea3r1uPTWUcLtSTH5d4Br9vkpiW5WMC3E6X056snj3G1DMc7fn7TQqenJkPa7 zjob2FrewGxJhEGf/miQLedmVJmpCs3usQkkjtES2jLVn0gT7GdgG/1OkjMQBOBG/zwt xXrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=gpRMsfGNXtpOHyXo1HHqlE0dlVAyPKBRJRDhBOKV9jk=; b=DLdoW01donucDQnVX6isot4O/afLHxxrsxBH0X8Lmiqc0xR2bdw/dU1IgUfZpnKR2E ATGx8wV8cNciti1SKFrYeN3wN7jFQKGAQs9g227k5gy1tJ/4MKZNZP6souleAdwDDrmQ OVLVwiAIbtUKKtOKTkoBVB4u857/hEDHZLYCh/XbTPvcRX24wiXogscKuADp+uxLuzwW fzRal/DwqCV4c2WLEdhzY5wRTylQK9wNSr6nzasomBwFNGUR57yb44D7PWAAamk1gN6U icgmfQJ6V1JRnvSPA9ZZLC2Xs26f9NF5dPUvx49hkA5mVLZBjqQVl24Wvo+qDpNT9TxW Su/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ciyWTDMr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m63si9840990pjb.8.2019.06.17.00.16.12; Mon, 17 Jun 2019 00:16:28 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=ciyWTDMr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726225AbfFQHPv (ORCPT + 99 others); Mon, 17 Jun 2019 03:15:51 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:40564 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725826AbfFQHPv (ORCPT ); Mon, 17 Jun 2019 03:15:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=gpRMsfGNXtpOHyXo1HHqlE0dlVAyPKBRJRDhBOKV9jk=; b=ciyWTDMrwSY3eNjL+rF5wFxvY Hk0lkKZBcBzvIMyNlZFE0NW6MIWRBlxlwnMDVqs7KohK9iSwbzBy5AnCQbGRDRPTaWJDWsBEHbf6S x2vJX1VhVXZiH6spDpYQwXl6RqXuKAeRagnraCMYavKvp+Sc/fsLkO/AHgrZtGSgDWkuGS781Vuej UCWQr0KsCKYjfN/XoK5gwW2s3OqBX2wib/0PrlfQSff+SB3cwgBxTivqhBuUUuo0TcpdenkP5mOgs nBHx8IXK+RndchBTpjqETN8U02sGo2U3SxhTEnnzA9GKAfbuiopJf2aHzCHL+/P6NlBB+1co33y6L VDNnrnyjA==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hclrT-0005ke-Jx; Mon, 17 Jun 2019 07:15:27 +0000 Date: Mon, 17 Jun 2019 00:15:27 -0700 From: Christoph Hellwig To: Alastair D'Silva Cc: Peter Zijlstra , Andrew Morton , David Hildenbrand , Oscar Salvador , Michal Hocko , Pavel Tatashin , Wei Yang , Arun KS , Qian Cai , Thomas Gleixner , Ingo Molnar , Josh Poimboeuf , Jiri Kosina , Mukesh Ojha , Mike Rapoport , Baoquan He , Logan Gunthorpe , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-nvdimm@lists.01.org Subject: Re: [PATCH 5/5] mm/hotplug: export try_online_node Message-ID: <20190617071527.GA14003@infradead.org> References: <20190617043635.13201-1-alastair@au1.ibm.com> <20190617043635.13201-6-alastair@au1.ibm.com> <20190617065921.GV3436@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 17, 2019 at 05:05:30PM +1000, Alastair D'Silva wrote: > On Mon, 2019-06-17 at 08:59 +0200, Peter Zijlstra wrote: > > On Mon, Jun 17, 2019 at 02:36:31PM +1000, Alastair D'Silva wrote: > > > From: Alastair D'Silva > > > > > > If an external driver module supplies physical memory and needs to > > > expose > > > > Why would you ever want to allow a module to do such a thing? > > > > I'm working on a driver for Storage Class Memory, connected via an > OpenCAPI link. > > The memory is only usable once the card says it's OK to access it. And all that should go through our pmem APIs, not not directly poke into mm internals. And if you still need core patches send them along with the actual driver.