ring-buffer: Fix typos in function ring_buffer_producer
authorXianting Tian <xianting_tian@126.com>
Sat, 16 Nov 2019 15:05:55 +0000 (10:05 -0500)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Sat, 23 Nov 2019 00:41:08 +0000 (19:41 -0500)
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>
kernel/trace/ring_buffer_benchmark.c

index 09b0b49..32149e4 100644 (file)
@@ -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.