Skip to content

Commit

Permalink
ring-buffer: Fix typos in function ring_buffer_producer
Browse files Browse the repository at this point in the history
Fix spelling and other typos

Link: http://lkml.kernel.org/r/1573916755-32478-1-git-send-email-xianting_tian@126.com

Signed-off-by: Xianting Tian <xianting_tian@126.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
  • Loading branch information
Xianting Tian authored and Steven Rostedt (VMware) committed Nov 23, 2019
1 parent b41db13 commit a82a480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kernel/trace/ring_buffer_benchmark.c
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,10 @@ static void ring_buffer_producer(void)

#ifndef CONFIG_PREEMPTION
/*
* If we are a non preempt kernel, the 10 second run will
* If we are a non preempt kernel, the 10 seconds run will
* stop everything while it runs. Instead, we will call
* cond_resched and also add any time that was lost by a
* rescedule.
* reschedule.
*
* Do a cond resched at the same frequency we would wake up
* the reader.
Expand Down

0 comments on commit a82a480

Please sign in to comment.