Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1431182 > unrolled thread

[PATCH 0/2] ZONE_DEVICE cleanups

Started byDan Williams <dan.j.williams@intel.com>
First post2016-06-25 19:50 +0200
Last post2016-06-27 15:40 +0200
Articles 3 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 0/2] ZONE_DEVICE cleanups Dan Williams <dan.j.williams@intel.com> - 2016-06-25 19:50 +0200
    [PATCH 1/2] mm: CONFIG_ZONE_DEVICE stop depending on CONFIG_EXPERT Dan Williams <dan.j.williams@intel.com> - 2016-06-25 19:50 +0200
      Re: [PATCH 1/2] mm: CONFIG_ZONE_DEVICE stop depending on CONFIG_EXPERT Jeff Moyer <jmoyer@redhat.com> - 2016-06-27 15:40 +0200

#1431182 — [PATCH 0/2] ZONE_DEVICE cleanups

FromDan Williams <dan.j.williams@intel.com>
Date2016-06-25 19:50 +0200
Subject[PATCH 0/2] ZONE_DEVICE cleanups
Message-ID<rNZSp-8pa-3@gated-at.bofh.it>
Minor cleanups for CONFIG_ZONE_DEVICE.

Andrew, killing the CONFIG_EXPERT dependency might be worth applying for
4.7, but otherwise these can wait for 4.8. These have received a "build
success" notification from the kbuild robot over 58 configs.  Please
apply, or ack and I'll queue them with the rest of the libnvdimm-for-4.8
updates.

---

Dan Williams (2):
      mm: CONFIG_ZONE_DEVICE stop depending on CONFIG_EXPERT
      mm: cleanup ifdef guards for vmem_altmap


 include/linux/memremap.h |    2 +-
 kernel/memremap.c        |    8 --------
 mm/Kconfig               |    2 +-
 3 files changed, 2 insertions(+), 10 deletions(-)

[toc] | [next] | [standalone]


#1431183 — [PATCH 1/2] mm: CONFIG_ZONE_DEVICE stop depending on CONFIG_EXPERT

FromDan Williams <dan.j.williams@intel.com>
Date2016-06-25 19:50 +0200
Subject[PATCH 1/2] mm: CONFIG_ZONE_DEVICE stop depending on CONFIG_EXPERT
Message-ID<rNZSp-8pa-5@gated-at.bofh.it>
In reply to#1431182
When it was first introduced CONFIG_ZONE_DEVICE depended on disabling
CONFIG_ZONE_DMA, a configuration choice reserved for "experts".
However, now that the ZONE_DMA conflict has been eliminated it no longer
makes sense to require CONFIG_EXPERT.

Reported-by: Eric Sandeen <sandeen@redhat.com>
Reported-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
---
 mm/Kconfig |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mm/Kconfig b/mm/Kconfig
index 3e2daef3c946..d109a7a0c1c4 100644
--- a/mm/Kconfig
+++ b/mm/Kconfig
@@ -673,7 +673,7 @@ config IDLE_PAGE_TRACKING
 	  See Documentation/vm/idle_page_tracking.txt for more details.
 
 config ZONE_DEVICE
-	bool "Device memory (pmem, etc...) hotplug support" if EXPERT
+	bool "Device memory (pmem, etc...) hotplug support"
 	depends on MEMORY_HOTPLUG
 	depends on MEMORY_HOTREMOVE
 	depends on SPARSEMEM_VMEMMAP

[toc] | [prev] | [next] | [standalone]


#1432042 — Re: [PATCH 1/2] mm: CONFIG_ZONE_DEVICE stop depending on CONFIG_EXPERT

FromJeff Moyer <jmoyer@redhat.com>
Date2016-06-27 15:40 +0200
SubjectRe: [PATCH 1/2] mm: CONFIG_ZONE_DEVICE stop depending on CONFIG_EXPERT
Message-ID<rOEVz-OK-11@gated-at.bofh.it>
In reply to#1431183
Dan Williams <dan.j.williams@intel.com> writes:

> When it was first introduced CONFIG_ZONE_DEVICE depended on disabling
> CONFIG_ZONE_DMA, a configuration choice reserved for "experts".
> However, now that the ZONE_DMA conflict has been eliminated it no longer
> makes sense to require CONFIG_EXPERT.
>
> Reported-by: Eric Sandeen <sandeen@redhat.com>
> Reported-by: Jeff Moyer <jmoyer@redhat.com>
> Signed-off-by: Dan Williams <dan.j.williams@intel.com>

Acked-by: Jeff Moyer <jmoyer@redhat.com>

> ---
>  mm/Kconfig |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mm/Kconfig b/mm/Kconfig
> index 3e2daef3c946..d109a7a0c1c4 100644
> --- a/mm/Kconfig
> +++ b/mm/Kconfig
> @@ -673,7 +673,7 @@ config IDLE_PAGE_TRACKING
>  	  See Documentation/vm/idle_page_tracking.txt for more details.
>  
>  config ZONE_DEVICE
> -	bool "Device memory (pmem, etc...) hotplug support" if EXPERT
> +	bool "Device memory (pmem, etc...) hotplug support"
>  	depends on MEMORY_HOTPLUG
>  	depends on MEMORY_HOTREMOVE
>  	depends on SPARSEMEM_VMEMMAP

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web