From mboxrd@z Thu Jan 1 00:00:00 1970 From: Minchan Kim Date: Mon, 27 Mar 2017 05:01:34 +0000 Subject: Re: [PATCH v3 5/7] zram: Convert to using memset_l Message-Id: <20170327050134.GA19601@bbox> List-Id: References: <20170324161318.18718-1-willy@infradead.org> <20170324161318.18718-6-willy@infradead.org> In-Reply-To: <20170324161318.18718-6-willy@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Matthew Wilcox Cc: linux-kernel@vger.kernel.org, linux-fbdev@vger.kernel.org, linux-arch@vger.kernel.org, linux-alpha@vger.kernel.org, linux-arm-kernel@lists.infradead.org, x86@kernel.org, linux-mips@linux-mips.org, linuxppc-dev@lists.ozlabs.org, sparclinux@vger.kernel.org, Matthew Wilcox 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!