Skip to content

Commit 0019a2d

Browse files
rddunlapPeter Zijlstra
authored andcommitted
sched: fix cid_lock kernel-doc warnings
Fix kernel-doc warnings for cid_lock and use_cid_lock. These comments are not in kernel-doc format. kernel/sched/core.c:11496: warning: Cannot understand * @cid_lock: Guarantee forward-progress of cid allocation. on line 11496 - I thought it was a doc line kernel/sched/core.c:11505: warning: Cannot understand * @use_cid_lock: Select cid allocation behavior: lock-free vs spinlock. on line 11505 - I thought it was a doc line Fixes: 223baf9 ("sched: Fix performance regression introduced by mm_cid") Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: https://lkml.kernel.org/r/20230428031111.322-1-rdunlap@infradead.org
1 parent ac9a786 commit 0019a2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel/sched/core.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11492,7 +11492,7 @@ void call_trace_sched_update_nr_running(struct rq *rq, int count)
1149211492

1149311493
#ifdef CONFIG_SCHED_MM_CID
1149411494

11495-
/**
11495+
/*
1149611496
* @cid_lock: Guarantee forward-progress of cid allocation.
1149711497
*
1149811498
* Concurrency ID allocation within a bitmap is mostly lock-free. The cid_lock
@@ -11501,7 +11501,7 @@ void call_trace_sched_update_nr_running(struct rq *rq, int count)
1150111501
*/
1150211502
DEFINE_RAW_SPINLOCK(cid_lock);
1150311503

11504-
/**
11504+
/*
1150511505
* @use_cid_lock: Select cid allocation behavior: lock-free vs spinlock.
1150611506
*
1150711507
* When @use_cid_lock is 0, the cid allocation is lock-free. When contention is

0 commit comments

Comments
 (0)