Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

sched/fair: Clean up comments in 'struct cfs_rq'

- Fix vertical alignment
- Fix typos
- Fix capitalization

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://patch.msgid.link/20251201064647.1851919-3-mingo@kernel.org

+6 -6
+6 -6
kernel/sched/sched.h
··· 670 670 void (*func)(struct rq *rq); 671 671 }; 672 672 673 - /* CFS-related fields in a runqueue */ 673 + /* Fair scheduling SCHED_{NORMAL,BATCH,IDLE} related fields in a runqueue: */ 674 674 struct cfs_rq { 675 675 struct load_weight load; 676 676 unsigned int nr_queued; 677 - unsigned int h_nr_queued; /* SCHED_{NORMAL,BATCH,IDLE} */ 678 - unsigned int h_nr_runnable; /* SCHED_{NORMAL,BATCH,IDLE} */ 679 - unsigned int h_nr_idle; /* SCHED_IDLE */ 677 + unsigned int h_nr_queued; /* SCHED_{NORMAL,BATCH,IDLE} */ 678 + unsigned int h_nr_runnable; /* SCHED_{NORMAL,BATCH,IDLE} */ 679 + unsigned int h_nr_idle; /* SCHED_IDLE */ 680 680 681 681 s64 avg_vruntime; 682 682 u64 avg_load; ··· 690 690 struct rb_root_cached tasks_timeline; 691 691 692 692 /* 693 - * 'curr' points to currently running entity on this cfs_rq. 693 + * 'curr' points to the currently running entity on this cfs_rq. 694 694 * It is set to NULL otherwise (i.e when none are currently running). 695 695 */ 696 696 struct sched_entity *curr; ··· 739 739 */ 740 740 int on_list; 741 741 struct list_head leaf_cfs_rq_list; 742 - struct task_group *tg; /* group that "owns" this runqueue */ 742 + struct task_group *tg; /* Group that "owns" this runqueue */ 743 743 744 744 /* Locally cached copy of our task_group's idle value */ 745 745 int idle;