mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] Some cleanup of ring buffer benchmark
@ 2015-07-09 15:09 Petr Mladek
  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
  0 siblings, 2 replies; 3+ messages in thread
From: Petr Mladek @ 2015-07-09 15:09 UTC (permalink / raw)
  To: Steven Rostedt; +Cc: Jiri Kosina, Ingo Molnar, linux-kernel, Petr Mladek

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-09 15:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-09 15:09 [PATCH 0/2] Some cleanup of ring buffer benchmark Petr Mladek
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

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®