[PATCH v3 5/7] zram: Convert to using memset_l
Minchan Kim
minchan at kernel.org
Sun Mar 26 22:01:34 PDT 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 linux-arm-kernel
mailing list