[PATCH v3 5/7] zram: Convert to using memset_l

Minchan Kim minchan at kernel.org
Mon Mar 27 16:01:34 AEDT 2017


On Fri, Mar 24, 2017 at 09:13:16AM -0700, Matthew Wilcox wrote:
> From: Matthew Wilcox <mawilcox at microsoft.com>
> 
> zram was the motivation for creating memset_l().  Minchan Kim sees a 7%
> performance improvement on x86 with 100MB of non-zero deduplicatable
> data:
> 
>         perf stat -r 10 dd if=/dev/zram0 of=/dev/null
> 
> vanilla:        0.232050465 seconds time elapsed ( +-  0.51% )
> memset_l:	0.217219387 seconds time elapsed ( +-  0.07% )
> 
> Signed-off-by: Matthew Wilcox <mawilcox at microsoft.com>
> Tested-by: Minchan Kim <minchan at kernel.org>
Acked-by: Minchan Kim <minchan at kernel.org>

Thanks!


More information about the Linuxppc-dev mailing list