From: Petr Mladek <pmladek@suse.com>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Jiri Kosina <jkosina@suse.cz>, Ingo Molnar <mingo@kernel.org>,
linux-kernel@vger.kernel.org, Petr Mladek <pmladek@suse.com>
Subject: [PATCH 0/2] Some cleanup of ring buffer benchmark
Date: Thu, 9 Jul 2015 17:09:19 +0200 [thread overview]
Message-ID: <1436454561-29925-1-git-send-email-pmladek@suse.com> (raw)
I send two patches that are side effect of my quest for a better
kthread API. They are not super important but I hope that you find
them useful.
The first patch helped me to get rid of an operation outside the
main cycle. It makes the code cleaner anyway.
The second patch improves my previous commit. The race is not
critical. It would just delay the rmmod. Anyway, I am getting
more familiar with all the possible problems around scheduling
and I hope that I see it better now.
PS: I have vacation the following two weeks and probably won't
be able to answer potential questions in the meantime. These
two patches are part of a bigger patch set that I will send
after vacation. If they get integrated, it would be nice.
Sigh, I have bad timing these days.
Petr Mladek (2):
ring_buffer: Initialize completions statically in the benchmark
ring_buffer: Fix more races when terminating the producer in the
benchmark
kernel/trace/ring_buffer_benchmark.c | 77 ++++++++++++++++++------------------
1 file changed, 39 insertions(+), 38 deletions(-)
--
1.8.5.6
next reply other threads:[~2015-07-09 15:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-09 15:09 Petr Mladek [this message]
2015-07-09 15:09 ` [PATCH 1/2] ring_buffer: Initialize completions statically in the benchmark Petr Mladek
2015-07-09 15:09 ` [PATCH 2/2] ring_buffer: Fix more races when terminating the producer " Petr Mladek
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436454561-29925-1-git-send-email-pmladek@suse.com \
--to=pmladek@suse.com \
--cc=jkosina@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=rostedt@goodmis.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®