sched/fair: use inclusive language in fair sched
PATCH 1/1 sched/fair: use inclusive language in fair sched
This patch replaces some non-inclusive terms based on the proposal that accepted by Linus.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=49decddd39e5f6132ccd7d9fdc3d7c470b0061bb
Signed-off-by Yejune Deng <[email protected]>
--- kernel/sched/fair.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-)
kernel/sched/fair.c +5 -5
@@ -5760,13 +5760,13 @@ static void record_wakee(struct task_struct *p)*/ static int wake_wide (struct task_struct *p) { -unsigned int master = current->wakee_flips; -unsigned int slave = p->wakee_flips; +unsigned int primary = current->wakee_flips; +unsigned int secondary = p->wakee_flips;int factor =__this_cpu_read (sd_llc_size); -if (master < slave) -swap (master, slave); -if (slave < factor || master < slave * factor) +if (primary < secondary) +swap (primary, secondary); +if (secondary < factor || primary < secondary * factor)return 0 ;return 1 ; }
Signature · 1 line
2.7.4
Peter Zijlstra
maintainerQuoted 3 lines · Yejune Deng
This patch replaces some non-inclusive terms based on the proposal that accepted by Linus.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=49decddd39e5f6132ccd7d9fdc3d7c470b0061bb
Please do your homework.