Skip to contentSkip to conversation

sched: Fix __cond_resched annotation typo

PATCH New Hyunwoo Kim 1 participant 1 message Jun 20, 2022 Scheduler

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched: Fix __cond_resched annotation typo

I think I found a minor typo.

It seems natural to end with "." rather than ",".

---
 include/linux/sched.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/linux/sched.h +1 -1
index c46f3a63b758..5cbced81133c 100644
@@ -2030,7 +2030,7 @@ static inline int test_tsk_need_resched(struct task_struct *tsk)
  * cond_resched() and cond_resched_lock(): latency reduction via
  * explicit rescheduling in places that are safe. The return
  * value indicates whether a reschedule was done in fact.
- * cond_resched_lock() will drop the spinlock before scheduling,
+ * cond_resched_lock() will drop the spinlock before scheduling.
  */
 #if !defined(CONFIG_PREEMPTION) || defined(CONFIG_PREEMPT_DYNAMIC)
 extern int __cond_resched(void);
Signature · 4 lines
2.25.1

Regards,
Hyunwoo Kim