Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp1925173ybx; Thu, 7 Nov 2019 19:59:54 -0800 (PST) X-Google-Smtp-Source: APXvYqxSujV65dInklZIHuk7T0tU1zisYN2lNSCFBdNi8tb2X8Pe9QdgFmdePIwZbRY/q6gmOh7Z X-Received: by 2002:a50:b2c4:: with SMTP id p62mr7746820edd.128.1573185594548; Thu, 07 Nov 2019 19:59:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573185594; cv=none; d=google.com; s=arc-20160816; b=GebRBl195i7U2iY7VD8AqAJ0A56i/gFhQmF1jm3/y+vKQn4pfZAUVc32EF0FhWrXGm 6zA3qEkcWf7TNndDX//vTxPSULgzg87qE7jAK9z31oFQD+CMu8NkX9vVsASUvG0tjLzT VZ+ocKGG1Veg//LNsHzKQh+8M2SQGq8q8b5dGkzytg89fvChEUNi5/ChTgnTUG+Z96dd 8v7dJNwWlJUuFtW99VU7h818dvEjGHwOMAbAEriMNuyGeVVHCgO2dN5EkeK+uEfVdWC2 O+zwHq628ovyeRwb8Ca+u77NSmOpD89qC+DI43/48qV5tmqANscZ8757UT2fDXO4xgsU qt+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=TpdWzs914Im+XChSKGo1dtT0tIBgdHM0e7z0HXP1z1g=; b=YEHdcLAq04Kie7u4np6jpwn8DworW4xCVO1T2hdhpP+wEerTuHMh6jdWGlBB2rX/lB TSEBwoRkpIHT/+th7Ztg7Yrv2/7rFjv/0x9T4kdnnU5LcO8g/8gQtZVRsDDvmyS/wJWF WZpNIlGPGmxmD13XMb1j/oLnrE44UyBf8VTD0Clbj+ELxHK62puc8YWOk1/NUL+CMCdp zPgTy+uv1OKJBWVSCCyE8cQcpebAeXVH9QhMLAA1fgm/vnMWuTjH2IJGzQ5E0aFns5vl oUmO5VUVNWBAdVVNffUNMP1Wa6PPSFTgZVes4JoBreaHAHacqwyPij0PvWI9PU3iOdzQ n+iQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="M/b0o7NC"; 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 d16si2993120ejc.277.2019.11.07.19.59.30; Thu, 07 Nov 2019 19:59:54 -0800 (PST) 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=pass header.i=@kernel.org header.s=default header.b="M/b0o7NC"; 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 S1728302AbfKHD6r (ORCPT + 99 others); Thu, 7 Nov 2019 22:58:47 -0500 Received: from mail.kernel.org ([198.145.29.99]:46428 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726281AbfKHD6r (ORCPT ); Thu, 7 Nov 2019 22:58:47 -0500 Received: from localhost.localdomain (c-73-231-172-41.hsd1.ca.comcast.net [73.231.172.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 553C920679; Fri, 8 Nov 2019 03:58:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573185526; bh=/4FwpTjEiM19GdBWykbZ0R2dKe1l5qiWiqL0ug6a+vw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=M/b0o7NC4sH1dPlab3zzKCy1u+ul8uhobI/pKFit+sNsWpJ8JyaP0iQI7MO/qKbfy 94h0sRD2SAIdhdawso330wFvSx0FWS7qJhTX30FOkJkY9OmWpgiZrKpyF40tLLXcD3 kBFRgQvl1bizzsJjfMl1DlW3ReCHgY2DDWjmg8PA= Date: Thu, 7 Nov 2019 19:58:45 -0800 From: Andrew Morton To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Tang Chen , Greg Kroah-Hartman , "Rafael J. Wysocki" , Keith Busch , Jiri Olsa , "Peter Zijlstra (Intel)" , Jani Nikula , Nayna Jain , Michal Hocko , Oscar Salvador , Stephen Rothwell , Dan Williams , Pavel Tatashin Subject: Re: [PATCH v3] mm/memory_hotplug: Fix try_offline_node() Message-Id: <20191107195845.b0b3921ea146a60d042a8f64@linux-foundation.org> In-Reply-To: <51bdb854-a60e-d076-5dde-38481bf4a4b1@redhat.com> References: <20191102120221.7553-1-david@redhat.com> <51bdb854-a60e-d076-5dde-38481bf4a4b1@redhat.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.31; 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Nov 2019 00:14:13 +0100 David Hildenbrand wrote: > > + /* > > + * Especially offline memory blocks might not be spanned by the > > + * node. They will get spanned by the node once they get onlined. > > + * However, they link to the node in sysfs and can get onlined later. > > + */ > > + rc = for_each_memory_block(&nid, check_no_memblock_for_node_cb); > > + if (rc) > > return; > > - } > > > > if (check_cpu_on_node(pgdat)) > > return; > > > > @Andrew, can you queued this one instead of v1 so we can give this some > more testing? Thanks! Sure. We have a tested-by but no reviewed-by or acked-by :( Null pointer derefs are unpopular. Should we cc:stable?