Skip to contentSkip to conversation

parisc: Kconfig: remove ARCH_DISCARD_MEMBLOCK

PATCH In review Mike Rapoport 2 participants 3 messages May 15, 2019 – May 21, 2019 PA-RISC architecture

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 parisc: Kconfig: remove ARCH_DISCARD_MEMBLOCK

Since commit 350e88bad496 ("mm: memblock: make keeping memblock memory opt-in rather than opt-out") the default behaviour is to discard memblock data after init and the ARCH_DISCARD_MEMBLOCK is obsolete.

Remove it.

---
 arch/parisc/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/parisc/Kconfig +0 -1
index 09407ed..13b95125 100644
@@ -36,7 +36,6 @@ config PARISC
 	select GENERIC_STRNCPY_FROM_USER
 	select SYSCTL_ARCH_UNALIGN_ALLOW
 	select SYSCTL_EXCEPTION_TRACE
-	select ARCH_DISCARD_MEMBLOCK
 	select HAVE_MOD_ARCH_SPECIFIC
 	select VIRT_TO_BUS
 	select MODULES_USE_ELF_RELA
Signature · 1 line
2.7.4
#1 lore raw

Gentle ping ...

Quoted 26 lines · Mike Rapoport

Since commit 350e88bad496 ("mm: memblock: make keeping memblock memory opt-in rather than opt-out") the default behaviour is to discard memblock data after init and the ARCH_DISCARD_MEMBLOCK is obsolete.

Remove it.

---
 arch/parisc/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/parisc/Kconfig +0 -1
index 09407ed..13b95125 100644
@@ -36,7 +36,6 @@ config PARISC
 	select GENERIC_STRNCPY_FROM_USER
 	select SYSCTL_ARCH_UNALIGN_ALLOW
 	select SYSCTL_EXCEPTION_TRACE
-	select ARCH_DISCARD_MEMBLOCK
 	select HAVE_MOD_ARCH_SPECIFIC
 	select VIRT_TO_BUS
 	select MODULES_USE_ELF_RELA
Signature · 1 line
2.7.4
Signature · 2 lines
Sincerely yours,
Mike.
maintainer
#2 lore raw
Quoted 1 line · Mike Rapoport

Gentle ping ...

No need to hurry.
It's already included in my git for-next tree:
https://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux.git/log/?h=for-next

Helge

Quoted 29 lines · Mike Rapoport
Quoted 26 lines

Since commit 350e88bad496 ("mm: memblock: make keeping memblock memory opt-in rather than opt-out") the default behaviour is to discard memblock data after init and the ARCH_DISCARD_MEMBLOCK is obsolete.

Remove it.

---
 arch/parisc/Kconfig | 1 -
 1 file changed, 1 deletion(-)
arch/parisc/Kconfig +0 -2
index 09407ed..13b95125 100644
@@ -36,7 +36,6 @@ config PARISC
 	select GENERIC_STRNCPY_FROM_USER
 	select SYSCTL_ARCH_UNALIGN_ALLOW
 	select SYSCTL_EXCEPTION_TRACE
-	select ARCH_DISCARD_MEMBLOCK
 	select HAVE_MOD_ARCH_SPECIFIC
 	select VIRT_TO_BUS
 	select MODULES_USE_ELF_RELA
--

2.7.4