From mboxrd@z Thu Jan 1 00:00:00 1970 From: minchan@kernel.org (Minchan Kim) Date: Mon, 27 Mar 2017 14:01:34 +0900 Subject: [PATCH v3 5/7] zram: Convert to using memset_l In-Reply-To: <20170324161318.18718-6-willy@infradead.org> References: <20170324161318.18718-1-willy@infradead.org> <20170324161318.18718-6-willy@infradead.org> Message-ID: <20170327050134.GA19601@bbox> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Fri, Mar 24, 2017 at 09:13:16AM -0700, Matthew Wilcox wrote: > From: Matthew Wilcox > > 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 > Tested-by: Minchan Kim Acked-by: Minchan Kim Thanks!