linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] null_blk: fix wrong use of nr_online_nodes
@ 2022-05-06  1:57 Peng Liu
  2022-05-06  1:58 ` [PATCH 1/2] include/linux/nodemask.h: create node_available() helper Peng Liu
  2022-05-06  1:58 ` [PATCH 2/2] null_blk: fix wrong use of nr_online_nodes Peng Liu
  0 siblings, 2 replies; 4+ messages in thread
From: Peng Liu @ 2022-05-06  1:57 UTC (permalink / raw)
  To: bhelgaas, tglx, mingo, bp, dave.hansen, x86, hpa,
	lorenzo.pieralisi, guohanjun, sudeep.holla, rafael, lenb, akpm,
	logang, martin.oliveira, thunder.leizhen, axboe, kch, ming.lei,
	shinichiro.kawasaki, mcgrof, jiangguoqing, jpittman, dave,
	liupeng256, wangkefeng.wang, linux-block, linux-ia64,
	linux-kernel, linux-pci, linux-acpi, linux-arm-kernel, linux-mm

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-06 17:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-06  1:57 [PATCH 0/2] null_blk: fix wrong use of nr_online_nodes Peng Liu
2022-05-06  1:58 ` [PATCH 1/2] include/linux/nodemask.h: create node_available() helper Peng Liu
2022-05-06 17:23   ` Bjorn Helgaas
2022-05-06  1:58 ` [PATCH 2/2] null_blk: fix wrong use of nr_online_nodes Peng Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).