| Date | Mon, 3 Aug 2015 14:31:09 -0400 | From | Steven Rostedt <> | Subject | Re: [RFC PATCH 09/14] ring_buffer: Initialize completions statically in the benchmark |
| |
On Tue, 28 Jul 2015 16:39:26 +0200 Petr Mladek <pmladek@suse.com> wrote:
> It looks strange to initialize the completions repeatedly. > > This patch uses static initialization. It simplifies the code > and even helps to get rid of two memory barriers.
There was a reason I did it this way and did not use static initializers. But I can't recall why I did that. :-/
I'll have to think about this some more.
-- Steve
|