Re: [PATCH v1 2/6] mm/memory_hotplug: remove CONFIG_MEMORY_HOTPLUG_SPARSE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/29/21 8:35 AM, David Hildenbrand wrote:
CONFIG_MEMORY_HOTPLUG depends on CONFIG_SPARSEMEM, so there is no need for
CONFIG_MEMORY_HOTPLUG_SPARSE anymore; adjust all instances to use
CONFIG_MEMORY_HOTPLUG and remove CONFIG_MEMORY_HOTPLUG_SPARSE.

Signed-off-by: David Hildenbrand <david@xxxxxxxxxx>
---
  arch/powerpc/include/asm/machdep.h            |  2 +-
  arch/powerpc/kernel/setup_64.c                |  2 +-
  arch/powerpc/platforms/powernv/setup.c        |  4 ++--
  arch/powerpc/platforms/pseries/setup.c        |  2 +-
  drivers/base/Makefile                         |  2 +-
  drivers/base/node.c                           |  9 ++++-----
  drivers/virtio/Kconfig                        |  2 +-
  include/linux/memory.h                        | 18 +++++++-----------
  include/linux/node.h                          |  4 ++--
  lib/Kconfig.debug                             |  2 +-
  mm/Kconfig                                    |  4 ----
  mm/memory_hotplug.c                           |  2 --
  tools/testing/selftests/memory-hotplug/config |  1 -
  13 files changed, 21 insertions(+), 33 deletions(-)


  {
diff --git a/tools/testing/selftests/memory-hotplug/config b/tools/testing/selftests/memory-hotplug/config
index a7e8cd5bb265..1eef042a31e1 100644
--- a/tools/testing/selftests/memory-hotplug/config
+++ b/tools/testing/selftests/memory-hotplug/config
@@ -1,5 +1,4 @@
  CONFIG_MEMORY_HOTPLUG=y
-CONFIG_MEMORY_HOTPLUG_SPARSE=y
  CONFIG_NOTIFIER_ERROR_INJECTION=y
  CONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m
  CONFIG_MEMORY_HOTREMOVE=y


For Kselftest change:

Acked-by: Shuah Khan <skhan@xxxxxxxxxxxxxxxxxxx>

thanks,
-- Shuah



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux