Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp14104ybc; Fri, 15 Nov 2019 16:10:09 -0800 (PST) X-Google-Smtp-Source: APXvYqztOrcxmboPFbGgzH1IFg7Z4IMvbElow2KGnbH4Gd4ROF+OYACVbcYtMap2MJmpPDTY3sTQ X-Received: by 2002:a17:906:1395:: with SMTP id f21mr4965081ejc.152.1573863009655; Fri, 15 Nov 2019 16:10:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573863009; cv=none; d=google.com; s=arc-20160816; b=sLie4IIO7ETRVyvRoJospnLYNuQpVgAIEtTriaHKNLJkPl4RTLcW3aexYP7BLsf88A JsrHDR1O5P3v1vfL2O3KbLbmnqo0qZYJ8f/Bc+9lUCj2VrgO/VcjKbQ+NnFkUS8qU5m1 DBo3nWzjjE1jSS0wYhub3peHgv9YP7wQFXHDiQs0HOlVFpiIr/9NxFgWPT4ryGVfiTky l91EdgO62+/iv/V8AEHkBCyu+5o1hLyYPh1PibZXe4BtQtqXyX2E0PLomX9b7Q305M/O oWmO32aidaOtcKj8Hax4X3Z+oMPNLm2GlL7/CFdRvuY8VUJHBSxLJ8CBklm+NJowSLp6 9fEQ== 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:to:from:date :dkim-signature; bh=rUw9QeEOMAH00Bty4wH8fhq8V2d4x6p53K5l8sz3+UQ=; b=ZQU6+oQcX0ocFEjtAgHAvujb+OUON9R7tPXAF9pWmpWLpxa/Iw7RK0pgjxTqkMz8/w DrKrqqp8Nh2oTTOVdDi0lXEDUVQ/yhGhvFHGF7DQix235Q/sK4ECl+w4DTnkL74m7i7B yvEUF6qMM106sugNCUol9P3wh/OIG71AHfYmrwSgghVYiIafwuWShRvojdG5sLvJ/3Jp ujMB5+i/YOEvX9yNjgEDpaRvrnYEBxLZy+uzqb7DyzASzAYYE52QN9+koiJ8qIJWxNbg t8cKSOQApN6IS8+F07Vd8WadvtakiaIKxLFfMpgQuvaxZpKC4uDNifBDD5Hb5m3Wm/0Z DJ1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XdMvhhx7; 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 v13si6559468ejq.36.2019.11.15.16.09.40; Fri, 15 Nov 2019 16:10:09 -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=XdMvhhx7; 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 S1727275AbfKPAIf (ORCPT + 99 others); Fri, 15 Nov 2019 19:08:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:50968 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727064AbfKPAIf (ORCPT ); Fri, 15 Nov 2019 19:08:35 -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 66E2520730; Sat, 16 Nov 2019 00:08:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1573862915; bh=BJ4L9qrJoht0uLRblWQg7JYdL1y/ny6VjCVp2vX5Asw=; h=Date:From:To:Subject:In-Reply-To:References:From; b=XdMvhhx7k/NONyYyoAW+m7AtxuYNLSkXLSZ2GzgV2o7DiqAly91BIGv/NBTJALLbw 0mwvxegDQP6OFHcLQ+FbJIUd9dpArgT1GJRh41HQpvhEpSt19ZLysDQecSM4INWHYI 5R2cRUvU6G2xztbjCIxxpeD01gCkI2c1b6s1rjWM= Date: Fri, 15 Nov 2019 16:08:33 -0800 From: Andrew Morton To: David Hildenbrand , 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: <20191115160833.beda52bc6f1145bc81960ba7@linux-foundation.org> In-Reply-To: <20191107195845.b0b3921ea146a60d042a8f64@linux-foundation.org> References: <20191102120221.7553-1-david@redhat.com> <51bdb854-a60e-d076-5dde-38481bf4a4b1@redhat.com> <20191107195845.b0b3921ea146a60d042a8f64@linux-foundation.org> 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 19:58:45 -0800 Andrew Morton wrote: > 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? I added cc:stable and shall send it upstream unreviewed.