Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1695391

Re: [PATCH v4 0/8] Multibyte memset variations

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [PATCH v4 0/8] Multibyte memset variations
Date 2017-07-25 07:30 +0200
Message-ID <u70zT-78Y-9@gated-at.bofh.it> (permalink)
References <u5oGl-2GI-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Matthew Wilcox <willy@infradead.org> writes:

> From: Matthew Wilcox <mawilcox@microsoft.com>
>
> A relatively common idiom we're missing is a function to fill an area
> of memory with a pattern which is larger than a single byte.  I first
> noticed this with a zram patch which wanted to fill a page with an
> 'unsigned long' value.  There turn out to be quite a few places in
> the kernel which can benefit from using an optimised function rather
> than a loop; sometimes text size, sometimes speed, and sometimes both.
> The optimised PowerPC version (not included here) improves performance
> by about 30% on POWER8 on just the raw memset_l().

Is the plan that Andrew will merge this series, or are you planning to
put them in a tree of yours?

cheers

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v4 0/8] Multibyte memset variations Matthew Wilcox <willy@infradead.org> - 2017-07-20 20:50 +0200
  [PATCH v4 6/8] zram: Convert to using memset_l Matthew Wilcox <willy@infradead.org> - 2017-07-20 20:50 +0200
  Re: [PATCH v4 0/8] Multibyte memset variations Michael Ellerman <mpe@ellerman.id.au> - 2017-07-25 07:30 +0200
    Re: [PATCH v4 0/8] Multibyte memset variations Matthew Wilcox <willy@infradead.org> - 2017-07-25 15:10 +0200

csiph-web