[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220506015801.757918-1-liupeng256@huawei.com>
Date: Fri, 6 May 2022 01:57:59 +0000
From: Peng Liu <liupeng256@...wei.com>
To: <bhelgaas@...gle.com>, <tglx@...utronix.de>, <mingo@...hat.com>,
<bp@...en8.de>, <dave.hansen@...ux.intel.com>, <x86@...nel.org>,
<hpa@...or.com>, <lorenzo.pieralisi@....com>,
<guohanjun@...wei.com>, <sudeep.holla@....com>,
<rafael@...nel.org>, <lenb@...nel.org>,
<akpm@...ux-foundation.org>, <logang@...tatee.com>,
<martin.oliveira@...eticom.com>, <thunder.leizhen@...wei.com>,
<axboe@...nel.dk>, <kch@...dia.com>, <ming.lei@...hat.com>,
<shinichiro.kawasaki@....com>, <mcgrof@...nel.org>,
<jiangguoqing@...inos.cn>, <jpittman@...hat.com>,
<dave@...olabs.net>, <liupeng256@...wei.com>,
<wangkefeng.wang@...wei.com>, <linux-block@...r.kernel.org>,
<linux-ia64@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linux-pci@...r.kernel.org>, <linux-acpi@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>, <linux-mm@...ck.org>
Subject: [PATCH 0/2] null_blk: fix wrong use of nr_online_nodes
Helper node_available is introduced to judge whether a node can be
used, and it is used to fix the wrong use of nr_online_nodes when
numa node is sparse.
Peng Liu (2):
include/linux/nodemask.h: create node_available() helper
null_blk: fix wrong use of nr_online_nodes
arch/ia64/hp/common/sba_iommu.c | 2 +-
arch/x86/pci/acpi.c | 2 +-
drivers/acpi/arm64/iort.c | 2 +-
drivers/block/null_blk/main.c | 45 ++++++++++++++++++++-------------
drivers/pci/pci-sysfs.c | 2 +-
include/linux/nodemask.h | 3 +++
mm/mempolicy.c | 2 +-
7 files changed, 36 insertions(+), 22 deletions(-)
--
2.25.1
Powered by blists - more mailing lists