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

2016-06-25 Thread Dan Williams
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 Reported-by: Jeff Moyer S

[PATCH 0/2] ZONE_DEVICE cleanups

2016-06-25 Thread Dan Williams
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 re

[PATCH 2/2] mm: cleanup ifdef guards for vmem_altmap

2016-06-25 Thread Dan Williams
Now that ZONE_DEVICE depends on SPARSEMEM_VMEMMAP we can simplify some ifdef guards to just ZONE_DEVICE. Reported-by: Vlastimil Babka Signed-off-by: Dan Williams --- include/linux/memremap.h |2 +- kernel/memremap.c|8 2 files changed, 1 insertion(+), 9 deletions(-) di

Re: [PATCH v2] libnvdimm, nfit: treat volatile virtual CD region as pmem

2016-06-25 Thread Dan Williams
On Sat, Jun 25, 2016 at 5:21 AM, joeyli wrote: > iOn Fri, Jun 24, 2016 at 10:59:56AM -0700, Dan Williams wrote: >> On Fri, Jun 24, 2016 at 12:51 AM, Lee, Chun-Yi >> wrote: >> > This patch adds logic to treat volatile virtual CD region as pmem >> > region, then /dev/pmem* device can be mounted wi

Re: [PATCH v2] libnvdimm, nfit: treat volatile virtual CD region as pmem

2016-06-25 Thread joeyli
iOn Fri, Jun 24, 2016 at 10:59:56AM -0700, Dan Williams wrote: > On Fri, Jun 24, 2016 at 12:51 AM, Lee, Chun-Yi > wrote: > > This patch adds logic to treat volatile virtual CD region as pmem > > region, then /dev/pmem* device can be mounted with iso9660. > > > > It's useful to work with the httpb