Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp17014ybc; Fri, 15 Nov 2019 16:14:06 -0800 (PST) X-Google-Smtp-Source: APXvYqwuOmRSLZK+nqoeOU2FpEjNX6sAsEuIGGiV3kxkI9cr4A39/uFPJlNJm/CWl1QDdXmHl3yJ X-Received: by 2002:a17:906:1249:: with SMTP id u9mr5243953eja.253.1573863245994; Fri, 15 Nov 2019 16:14:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573863245; cv=none; d=google.com; s=arc-20160816; b=hsieznRzGki9ujmmiyO3P64YnwnHOO5xsYRoGiwYMK2Y7+XkouBD8hzVrNc8dOfn+0 yIto4qPHYd4MQx0woJreRG+RJK6/WNt+OiHO/HuAA0JE63WjX1tbUbgp5dRbbN+S/1Fl boB/e4fYOd65Xp9SBdHI31lgBRHHNTIfuzy4XH6ck1gpaa/ajGxDdExak7A2DDk5QPLv qW3XFS7LeCDiQqIdxil/LX1Pkj7hBjmecGqDlwIlBQpCSFF+WbFQ42VmCW2BV43CF7wz DQts7q5ag/vMeG6BKVf3qnfmtHL3bsb768OI7JuuA1nown+C7UAjiSIRiIS6P8czdvqd oL7Q== 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:to:in-reply-to :cc:references:message-id:date:subject:mime-version:from :dkim-signature; bh=YucaLxiSa+lbBdWZEiOMixRcsCv7ML3d3r0Ac+pjQcY=; b=iN279XiV/hV1TuKdJsjzBwqLtnfoXtbETH4tjJdKKsoTu0dTXWRjPb0q3jz1TtEC+I Vhm9uMyPn+En3C61347L++9Vgl9unQ84EKAQzI7KaolaKNQbFWUs5xrNW4qYGvqO/MWj y1bSLP4KHx2Ok4IWPL5fkIgLK2vwvY4AU1jbAL1CjQL27rXju4ibpO5aq/DAN/e2W4rH m6yp18aMCb4yMuyz4tRU6/t5fl/s/NcRagOad2TBcF7cy4upnjx+diMWatv6uHpwqW1Q yevDoUlu4qC6wXdBjFEfOVzKvEGiFCy0bkk6gj4d+Ye+tUTpZQd0owVxZMvGtO1PSgPI I5zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=bzwXzcLi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o19si6927661edq.238.2019.11.15.16.13.40; Fri, 15 Nov 2019 16:14:05 -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=@redhat.com header.s=mimecast20190719 header.b=bzwXzcLi; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727340AbfKPAMW (ORCPT + 99 others); Fri, 15 Nov 2019 19:12:22 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:31959 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727183AbfKPAMW (ORCPT ); Fri, 15 Nov 2019 19:12:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1573863141; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=YucaLxiSa+lbBdWZEiOMixRcsCv7ML3d3r0Ac+pjQcY=; b=bzwXzcLij/PLQ/XEbggwW3DKDYl+dFkc2EoOD0AWGDUuY7xpGB97XX9bAfQsPc0enIoS4S oF2zwOKXFEdwlx0YhIQk/a1Mb7hr2kkW6pAUMNFwqIcfb59jHSeanrV1hXaHZWJFGq4aXd 6rlCxE5pnAQs2faJ+989NSSia7gaYQM= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-426-a0MZMA09P_WGItiTfoaftQ-1; Fri, 15 Nov 2019 19:12:20 -0500 Received: by mail-wr1-f71.google.com with SMTP id p6so9326161wrs.5 for ; Fri, 15 Nov 2019 16:12:19 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=XgPDDVC4pj4uBAGw7ABCh7Q7KCQNqcWlZruL9lBUGm4=; b=enIDLZF8HZ1bnpfLnirKNPMbpNu0uLOPbnonNpkZNwy7tSasD9nMIgW9aAO2WfbXmI icUuZixe8KHprXPCGOqjDz+JufvKO4RVu1aETWVeh19sDdKUa2g7vXsYcxzhxD28wR0l PT8Q2LdxH1o2G3E1zxXpxXowhBJdmkS+dDkfGvPSnc1y+MIE//Hrf4jk9bd8Wr1teU1b AbCfzVb9Ap7Vf8aWV1Ar8l8ngBNk/Ew3dVgjVBfi1H73Ehwdw+cLcLFZJUM7M8fWZ5Sw wld0oolKB8LTePskBEr7EErME3+nVU+Q9/2cDpvDLkyTN1UR0UAcVqV28M2YXb9lkWpA MNgA== X-Gm-Message-State: APjAAAXYo8mF4iKXIjBqHTIVeu/4zMlMgeKH4K7hd3l9Sm3kbNPU/zqB +loDpDWT3HnyQtISSrHUtv81FGopvd4xci6WByZ0UVE1z3oaxuWUbnCfNeaExAbD9rMd/UnM4EY TdcvAgJGm1LUw7IkO5bY0dper X-Received: by 2002:adf:e312:: with SMTP id b18mr4650614wrj.203.1573863138983; Fri, 15 Nov 2019 16:12:18 -0800 (PST) X-Received: by 2002:adf:e312:: with SMTP id b18mr4650602wrj.203.1573863138778; Fri, 15 Nov 2019 16:12:18 -0800 (PST) Received: from [192.168.3.122] (p4FF23E4C.dip0.t-ipconnect.de. [79.242.62.76]) by smtp.gmail.com with ESMTPSA id f13sm12841564wrq.96.2019.11.15.16.12.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 15 Nov 2019 16:12:18 -0800 (PST) From: David Hildenbrand Mime-Version: 1.0 (1.0) Subject: Re: [PATCH v3] mm/memory_hotplug: Fix try_offline_node() Date: Sat, 16 Nov 2019 01:12:16 +0100 Message-Id: References: <20191115160833.beda52bc6f1145bc81960ba7@linux-foundation.org> Cc: 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 In-Reply-To: <20191115160833.beda52bc6f1145bc81960ba7@linux-foundation.org> To: Andrew Morton X-Mailer: iPhone Mail (17A878) X-MC-Unique: a0MZMA09P_WGItiTfoaftQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 16.11.2019 um 01:08 schrieb Andrew Morton : >=20 > =EF=BB=BFOn Thu, 7 Nov 2019 19:58:45 -0800 Andrew Morton wrote: >=20 >> On Thu, 7 Nov 2019 00:14:13 +0100 David Hildenbrand w= rote: >>=20 >>>> + /* >>>> + * 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 la= ter. >>>> + */ >>>> + rc =3D for_each_memory_block(&nid, check_no_memblock_for_node_cb)= ; >>>> + if (rc) >>>> return; >>>> - } >>>>=20 >>>> if (check_cpu_on_node(pgdat)) >>>> return; >>>>=20 >>>=20 >>> @Andrew, can you queued this one instead of v1 so we can give this some= =20 >>> more testing? Thanks! >>=20 >> Sure. >>=20 >> We have a tested-by but no reviewed-by or acked-by :( >>=20 >> Null pointer derefs are unpopular. Should we cc:stable? >=20 > >=20 > I added cc:stable and shall send it upstream unreviewed. Yes, please cc:stable at as mentioned in the patch comments (below the desc= ription). Maybe we=E2=80=98ll find somebody last minute to review ... thank= s! >=20