Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp2519133ybi; Mon, 17 Jun 2019 06:17:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrm1tkmBITPAW+9l9Ja2bFnzPqw2ABeZwRKkrGHM+cdkZp+xt80dnsAo7Xj/b4LbcYeGBD X-Received: by 2002:a62:e910:: with SMTP id j16mr11648358pfh.123.1560777429286; Mon, 17 Jun 2019 06:17:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560777429; cv=none; d=google.com; s=arc-20160816; b=rFHsfs5btOjqrkUN8Dppf+y2I4Lx/ZFp4M2IAhL2xHwSUOI+TsHxIBNtXMfp9+qnPh qzXxvJjAqC7Xsred1InRZTH0dnGbRM4QWPQFAnJGvNSwt78Aah67LcMJjpgbvP75l892 cZrzkFzKgxDCrLrRYL/ev7ElsO26/kRsMBkTpWQjhj4hUz+GX7PuV6B++WxT+F9ZIair pIQd8nfYL7tkrUxy6zckBUv3N6oG/lX9Bc0wO3Ais162mXXnDf4znshQEgB8GvtxW+8g 7yjvtSDNRY5ijoo9FflT69VOqCmv6chjIuEjg6P/YYOfYaiHvM7nTJCqwrZg0ELoJC7u aZMQ== 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=g2RSyr1LswKR5yVaExwwUghHr8GGOtj1VRSVsfBu1GQ=; b=cZgPbbhuhemVXyMmlwfxjfBVa5X+f186gObU9lY40zTRbQdJNuAi7rdW6VMvUAnj1L kq3X8EWhlErRLZPRVa7uLFrH8ffkgz1q9qjCmdXcOBJDkpmD+pe4kIftyDZhEhdZVXJr oND2IBbMIOahZEwran/yyPfze2iXHK0mYrN2TWbQd4cWP3UZ5PmrFNMlVup2eFWWQnLQ lcmwJ3Zxg7iR9ivff1r/VSP6wgRo3NeCJ1FydBrq8e1VNLMgh4zAQP2PcQ9n9yizORmu 7S+LfKgg1iQzMPFNesUtYENZXSy+IPSgVpk8LhkyjFurcPAOQUOWJ/iZRI1ATj1XIaHW Dj5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=Xt2zW3Cs; 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 n10si9863551plk.257.2019.06.17.06.16.53; Mon, 17 Jun 2019 06:17:09 -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=Xt2zW3Cs; 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 S1727873AbfFQNPW (ORCPT + 99 others); Mon, 17 Jun 2019 09:15:22 -0400 Received: from bombadil.infradead.org ([198.137.202.133]:37124 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725884AbfFQNPW (ORCPT ); Mon, 17 Jun 2019 09:15:22 -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=g2RSyr1LswKR5yVaExwwUghHr8GGOtj1VRSVsfBu1GQ=; b=Xt2zW3CsTdU+5dL1qgV7m+ZXj 9YyYU2Wk6Tm8jGRvrjoLS1or4I9L8Nqw0mQ0LRGN+KocsYE/05sPoA1/cTAa3zfdt8zIsocYAYBlg FgUkxfwPxd0lS5E5WSJY35W31PExqnu6CzwadtRyYO9xC9msAFx2RSs+tbpZQ6XgdZAH0kfP2ulXj nOcKt7dpG5G3pI6AqfqWoqte8gIMa4B6F0bH8LWDBzSBZ4CjeVlm38WCclwKZBMGauNqijnSWoqIs Lpk4LxEgpQUm/LviWC5Z98ShD4yCngQetj2o1PDPpTuhHsae5J9s4IXxMJyukLQ+kdkej905zEcu5 MC33MfY3g==; Received: from hch by bombadil.infradead.org with local (Exim 4.92 #3 (Red Hat Linux)) id 1hcrTP-00014F-MJ; Mon, 17 Jun 2019 13:14:59 +0000 Date: Mon, 17 Jun 2019 06:14:59 -0700 From: 'Christoph Hellwig' To: Alastair D'Silva Cc: 'Christoph Hellwig' , '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: <20190617131459.GA639@infradead.org> References: <20190617043635.13201-1-alastair@au1.ibm.com> <20190617043635.13201-6-alastair@au1.ibm.com> <20190617065921.GV3436@hirez.programming.kicks-ass.net> <20190617071527.GA14003@infradead.org> <068d01d524e2$aa6f3000$ff4d9000$@d-silva.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <068d01d524e2$aa6f3000$ff4d9000$@d-silva.org> 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 06:00:00PM +1000, Alastair D'Silva wrote: > > 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. > > I tried that, but I was getting crashes as the NUMA data structures for that > node were not initialised. > > Calling this was required to prevent uninitialized accesses in the pmem > library. Please send your driver to the linux-nvdimm and linux-mm lists so that it can be carefully reviewed.