Skip to content

drivers/base/node: fold node register and unregister functions

Donet Tom linux-mm linuxppc-dev lkml oe-kbuild-all 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 6 repliesIn review 1 of 2 applied
  2. v12 patches 11 repliesSuperseded

Changes in v2 from the cover letter

- Changed commit description
- Removed extern from the function declarations of register_node() and unregister_node().

Patches in v2 1 of 2 applied

#Subject and filesSizeRepliesApplied
1/2drivers/base/node: Fold register_node() into register_one_node()arch/powerpc/platforms/pseries/pci_dlpar.c arch/x86/mm/numa.c drivers/base/node.c +3 more+28 -404 repliesApplied
2/2drivers/base/node: Fold unregister_node() into unregister_one_node()drivers/base/node.c include/linux/node.h mm/memory_hotplug.c+21 -272 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchMike Rapoport (Microsoft)David HildenbrandSeongJae Park
1/2A-b A-b A-b
2/2A-b A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/2] drivers/base/node: fold node register and unregister functions

This change came from the discussion in [1]. It consists of two patches:

The first patch merges register_one_node() and register_node(), leaving a single register_node() function.

The second patch merges unregister_one_node() and unregister_node(), leaving a single unregister_node() function.

There is no functional change in these patches.

[1] https://lore.kernel.org/all/[email protected]/

---
v1 -> v2
- Changed commit description
- Removed extern from the function declarations of register_node() and unregister_node().

v1 - https://lore.kernel.org/all/[email protected]/

Donet Tom (2):
drivers/base/node: Fold register_node() into register_one_node() drivers/base/node: Fold unregister_node() into unregister_one_node()

 arch/powerpc/platforms/pseries/pci_dlpar.c |  2 +-
 arch/x86/mm/numa.c                         |  4 +-
 drivers/base/node.c                        | 90 +++++++++-------------
 include/linux/node.h                       | 10 +--
 mm/memory_hotplug.c                        |  8 +-
 mm/mm_init.c                               |  2 +-
 6 files changed, 49 insertions(+), 67 deletions(-)
Signature · 1 line
2.47.1