Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp9045872ybl; Fri, 17 Jan 2020 05:32:17 -0800 (PST) X-Google-Smtp-Source: APXvYqwtSrMawIhIspy0cxI93iXP1o3ZtmjL6jrHMy+k1Yc/rKAkSctjV6NcmOA1gs7ZlK6mMQ2Z X-Received: by 2002:a9d:624e:: with SMTP id i14mr6184993otk.371.1579267937046; Fri, 17 Jan 2020 05:32:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579267937; cv=none; d=google.com; s=arc-20160816; b=a9Wyf5U0aQJ62cu3vFaD5DDiq0WOZo0YH1+61RRYesVBZuu2WUqrzoOlAYZwkeevym FCpRx2t5TudY+X7izuTPkOFFJbpJm50CuuXSoOWkvS6ekBEAIVWJDyPkIMCqE95GM6j4 5RcaW6CBaQ6vEbuV6bNBQO1cYVTa7UJZ4sylAqmZ6Qrp6K7JgTqT4IWciKrswHjoq6Fz hoR5iedJ8Yc/sYhvR3HmxRzVzfrmQtG8UHql/7wJX+GE71dVJGik/3BYGRWDC6C6ZG+j uiN4kqyzJb19XpyOdAAo+70JCkB7eYHborQUgOK+OlS3XNX6ctzTuNV2vBNjmTrdB1Ym F5Jw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=U4/RhVLZS3DfSJ3cg9+WjUoTzOlLIbTI9zPCVAjn1nY=; b=RG+hPrDL5WWZgtpKBYDWzYdouF3nzURAzAM9Nldu6kjGpuBrSHnn5CHI/5yMDDDfFe 9qUa8imD/pdvMX5hXVxoNJEvyW1CdK9DosAoSk3QyXROXhKUj+ENHw26Em41Dxob82db VDIJ0XKBTKR/2PvRlOaaake3Bhsxwqr/TjsOPnnQjLE1fsIPy63Ak6bXZ0faZS2RtHoH f5WNDLmTV5gLZ3bDCBOsmkTxLQfm8uWZCHFn94qYgfb7hs3T4cWivvGtBuEhgCG6KqPr HQgqL+1sIPxkQoB8wLJ8SM3oR7Ua3ajgapa5VUSPq1/ve0FYVZMGXGFFzUtJZphUNLn9 sHrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=WwRUF9vK; 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 e3si15000079otr.245.2020.01.17.05.32.04; Fri, 17 Jan 2020 05:32:17 -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=@lca.pw header.s=google header.b=WwRUF9vK; 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 S1726975AbgAQNab (ORCPT + 99 others); Fri, 17 Jan 2020 08:30:31 -0500 Received: from mail-qk1-f176.google.com ([209.85.222.176]:43257 "EHLO mail-qk1-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726861AbgAQNab (ORCPT ); Fri, 17 Jan 2020 08:30:31 -0500 Received: by mail-qk1-f176.google.com with SMTP id t129so22622098qke.10 for ; Fri, 17 Jan 2020 05:30:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=U4/RhVLZS3DfSJ3cg9+WjUoTzOlLIbTI9zPCVAjn1nY=; b=WwRUF9vKt/5s/PIHYqrzuoQMr2a8YirD708F+kCBoHzuyHxGQbvciWODf9JXNvicud fqkP5IagKLSw36fHs65g0Fuc+OBpucXWd0khkY0AI6jOJOaB2wCwCz+Fem2Dxod2uAOF 7DqLsEJ0gJGCKrTJ1dZ5pI5Z+1GLrrAKe1wYPDFdTrrQDKYdNeRC8Udk9m0cvmXuhZoH gitDSWd2DQbEKfWmn+/wi5caB9h9sCIjcwUX5lfPy+BRMxU+eA9KRNN0i8RazrzcxYAj SgGSUMOXtda41CAn75tZhLeh2/If/6LK07j7rx65Jk9ahagGfAX1JfzmuLeHrI2//Zs+ UyLg== 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=U4/RhVLZS3DfSJ3cg9+WjUoTzOlLIbTI9zPCVAjn1nY=; b=uMI68xPs0A6//SezN68pFH08C/JjSzneeSNF0TTKPUvm265V7FbHpVS9qVWev6++7S Pjet3hzkCOtdMdx7pg4Yvk9+55RxXBpYtKLuXUygb/Q7R9uLKuyZ4L+i5BrTyH232DuZ YNL+ltU68w2+hxx7dBtUT1Sde5zcyWe2rp4gYBuJneb7eSqhpmB7jPXMuKeWKSXtngy9 EBkOYb8S0bGNxZjIa0vCbbKTNOYhfuJfqRDHhPjBbaS+pRgcHqrZNWNSE6NHtQHQ7C/B vEDysZKAmbk+7rZ2Xxta67UIPJn4hFMWcDuircAFUsAgrTXg+grj0M5kkE6uFUORPFJM QZDg== X-Gm-Message-State: APjAAAWvOBfcaCqASaOBP5Fnm0Ialt1cpg0BtwnhrYvOHOCALkeKXq1h FZDMceKYfLh/d1k+xEhFIKHPGxevzHSNjw== X-Received: by 2002:a37:7005:: with SMTP id l5mr36899936qkc.334.1579267828641; Fri, 17 Jan 2020 05:30:28 -0800 (PST) Received: from ?IPv6:2600:1000:b029:6649:b819:fcc3:734e:5994? ([2600:1000:b029:6649:b819:fcc3:734e:5994]) by smtp.gmail.com with ESMTPSA id v4sm12909646qtd.24.2020.01.17.05.30.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 17 Jan 2020 05:30:26 -0800 (PST) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: [PATCH -next v4] mm/hotplug: silence a lockdep splat with printk() Date: Fri, 17 Jan 2020 08:30:24 -0500 Message-Id: References: <6f924bf7-835b-0176-1b12-aff4f1f4be0e@redhat.com> Cc: akpm@linux-foundation.org, mhocko@kernel.org, sergey.senozhatsky.work@gmail.com, pmladek@suse.com, rostedt@goodmis.org, peterz@infradead.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Michal Hocko In-Reply-To: <6f924bf7-835b-0176-1b12-aff4f1f4be0e@redhat.com> To: David Hildenbrand X-Mailer: iPhone Mail (17C54) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Jan 17, 2020, at 7:53 AM, David Hildenbrand wrote: > > Can't we just use the zone_idx() stored in the memmap instead? I am having a hard time to guess what that means. Care to elaborate?