]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sched/fair: Sort out 'blocked_load*' namespace noise
authorIngo Molnar <mingo@kernel.org>
Tue, 2 Dec 2025 09:35:06 +0000 (10:35 +0100)
committerIngo Molnar <mingo@kernel.org>
Mon, 15 Dec 2025 06:52:45 +0000 (07:52 +0100)
commit527a521029c3edd38fb9fc96cd58e3fd7393d28e
tree5f8cf9e8df5f5017635053cf5d4e22847c3e82a2
parent5758e48eefaf111d7764d8f1c8b666140fe5fa27
sched/fair: Sort out 'blocked_load*' namespace noise

There's three layers of logic in the scheduler that
deal with 'has_blocked' (load) handling of the NOHZ code:

  (1) nohz.has_blocked,
  (2) rq->has_blocked_load, deal with NOHZ idle balancing,
  (3) and cfs_rq_has_blocked(), which is part of the layer
      that is passing the SMP load-balancing signal to the
      NOHZ layers.

The 'has_blocked' and 'has_blocked_load' names are used
in a mixed fashion, sometimes within the same function.

Standardize on 'has_blocked_load' to make it all easy
to read and easy to grep.

No change in functionality.

Suggested-by: Vincent Guittot <vincent.guittot@linaro.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Frederic Weisbecker <frederic@kernel.org>
Cc: Shrikanth Hegde <sshegde@linux.ibm.com>
Link: https://patch.msgid.link/aS6yvxyc3JfMxxQW@gmail.com
kernel/sched/fair.c