[PATCH v2 6/7] zram: remove zram_rw_page

2017-08-10 Thread Minchan Kim
With on-stack-bio, rw_page interface doesn't provide a clear performance benefit for zram and surely has a maintenance burden, so remove the last user to remove rw_page completely. Reviewed-by: Sergey Senozhatsky Signed-off-by: Minchan Kim ---

[PATCH v2 5/7] mm:swap: use on-stack-bio for BDI_CAP_SYNCHRONOUS device

2017-08-10 Thread Minchan Kim
There is no need to use dynamic bio allocation for BDI_CAP_SYNCHRONOUS devices. They can live with on-stack-bio without concern about waiting bio allocation from mempool under heavy memory pressure. It would be much better for swap devices because the bio mempool for swap IO have been used with

[PATCH v2 2/7] bdi: introduce BDI_CAP_SYNCHRONOUS_IO

2017-08-10 Thread Minchan Kim
By discussion[1], we will replace rw_page devices with on-stack-bio. For such super-fast devices to be detected, this patch introduces BDI_CAP_SYNC which means synchronous IO would be more efficient for asnychronous IO and uses the flags to brd, zram, btt and pmem. [1]

[PATCH v2 3/7] fs: use on-stack-bio if backing device has BDI_CAP_SYNCHRONOUS capability

2017-08-10 Thread Minchan Kim
There is no need to use dynamic bio allocation for BDI_CAP_SYNCHRONOUS devices. They can with on-stack bio without concern about waiting bio allocation from mempool under heavy memory pressure. Cc: Matthew Wilcox Signed-off-by: Minchan Kim --- Hi

[PATCH v2 1/7] zram: set BDI_CAP_STABLE_WRITES once

2017-08-10 Thread Minchan Kim
[1] fixed weird thing(i.e., reset BDI_CAP_STABLE_WRITES flag unconditionally whenever revalidat_disk is called) so zram doesn't need to reset the flag any more whenever revalidating the bdev. Instead, set the flag just once when the zram device is created. It shouldn't change any behavior. [1]

[PATCH v2 4/7] mm:swap: remove end_swap_bio_write argument

2017-08-10 Thread Minchan Kim
Every caller of __swap_writepage uses end_swap_bio_write as end_write_func argument so the argument is pointless. Remove it. Signed-off-by: Minchan Kim --- include/linux/swap.h | 3 +-- mm/page_io.c | 7 +++ mm/zswap.c | 2 +- 3 files changed, 5

[PATCH v2 0/7] Replace rw_page with on-stack bio

2017-08-10 Thread Minchan Kim
Recently, there was a dicussion about removing rw_page due to maintainance burden[1] but the problem was zram because zram has a clear win for the benchmark at that time. The reason why only zram have a win is due to bio allocation wait time from mempool under extreme memory pressure. Christoph

[PATCH v2 7/7] fs: remove rw_page

2017-08-10 Thread Minchan Kim
Currently, there is no user of rw_page so remove it. Signed-off-by: Minchan Kim --- fs/block_dev.c | 76 -- fs/mpage.c | 15 -- include/linux/blkdev.h | 4 --- mm/page_io.c | 17

Re: [PATCH] ndctl: New structure definitions.

2017-08-10 Thread Jerry Hoemann
On Thu, Aug 10, 2017 at 07:27:58PM -0700, Dan Williams wrote: > On Thu, Aug 10, 2017 at 7:12 PM, Jerry Hoemann wrote: > > On Thu, Aug 10, 2017 at 05:47:10PM -0700, Dan Williams wrote: > >> On Thu, Aug 10, 2017 at 5:00 PM, Jerry Hoemann > >> wrote: >

Re: [PATCH] ndctl: New structure definitions.

2017-08-10 Thread Dan Williams
On Thu, Aug 10, 2017 at 7:12 PM, Jerry Hoemann wrote: > On Thu, Aug 10, 2017 at 05:47:10PM -0700, Dan Williams wrote: >> On Thu, Aug 10, 2017 at 5:00 PM, Jerry Hoemann wrote: >> > Add structure definitions newly published/modified in v0.85: >> > >> >

Re: [PATCH] ndctl: New structure definitions.

2017-08-10 Thread Jerry Hoemann
On Thu, Aug 10, 2017 at 05:47:10PM -0700, Dan Williams wrote: > On Thu, Aug 10, 2017 at 5:00 PM, Jerry Hoemann wrote: > > Add structure definitions newly published/modified in v0.85: > > > >

Re: [PATCH] ndctl: New structure definitions.

2017-08-10 Thread Dan Williams
On Thu, Aug 10, 2017 at 5:00 PM, Jerry Hoemann wrote: > Add structure definitions newly published/modified in v0.85: > > https://github.com/HewlettPackard/hpe-nvm/blob/master/Documentation/NFIT_DSM_DDR4_NVDIMM-N_v85.pdf Are there going to be follow-on patches that make use

[PATCH] ndctl: New structure definitions.

2017-08-10 Thread Jerry Hoemann
Add structure definitions newly published/modified in v0.85: https://github.com/HewlettPackard/hpe-nvm/blob/master/Documentation/NFIT_DSM_DDR4_NVDIMM-N_v85.pdf Signed-off-by: Jerry Hoemann --- ndctl/lib/ndctl-hpe1.h | 50

Re: [PATCH v4 2/8] dmaengine: change transaction type DMA_SG to DMA_SG_SG

2017-08-10 Thread Dan Williams
On Thu, Aug 10, 2017 at 12:44 PM, Dave Jiang wrote: > > > On 08/10/2017 12:05 PM, Dan Williams wrote: >> On Thu, Aug 10, 2017 at 9:22 AM, Dave Jiang wrote: >>> >>> >>> On 08/09/2017 07:20 PM, Dan Williams wrote: On Wed, Aug 9, 2017 at 7:15 PM, Dan

Re: [PATCH 6/6] arm64: uaccess: Implement *_flushcache variants

2017-08-10 Thread Catalin Marinas
On Thu, Aug 10, 2017 at 12:58:45PM +0200, Arnd Bergmann wrote: > On Tue, Jul 25, 2017 at 12:55 PM, Robin Murphy wrote: > > Implement the set of copy functions with guarantees of a clean cache > > upon completion necessary to support the pmem driver. > > > > Signed-off-by:

Re: [PATCH 6/6] arm64: uaccess: Implement *_flushcache variants

2017-08-10 Thread Arnd Bergmann
On Tue, Jul 25, 2017 at 12:55 PM, Robin Murphy wrote: > Implement the set of copy functions with guarantees of a clean cache > upon completion necessary to support the pmem driver. > > Signed-off-by: Robin Murphy > --- > arch/arm64/Kconfig

�����г��滮����������

2017-08-10 Thread ����
___ Linux-nvdimm mailing list Linux-nvdimm@lists.01.org https://lists.01.org/mailman/listinfo/linux-nvdimm