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: Rename root_domain::overload to ::overloaded

It is silly to use an ambiguous noun instead of a clear adjective when naming
such a flag ...

Note how root_domain::overutilized already used a proper adjective.

rd->overloaded is now set to 1 when the root domain is overloaded.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Cc: Qais Yousef <qyousef@layalina.io>
Cc: Shrikanth Hegde <sshegde@linux.ibm.com>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/ZgVHq65XKsOZpfgK@gmail.com

+3 -3
+3 -3
kernel/sched/sched.h
··· 874 874 * - More than one runnable task 875 875 * - Running task is misfit 876 876 */ 877 - int overload; 877 + int overloaded; 878 878 879 879 /* Indicate one or more cpus over-utilized (tipping point) */ 880 880 int overutilized; ··· 932 932 933 933 static inline int get_rd_overload(struct root_domain *rd) 934 934 { 935 - return READ_ONCE(rd->overload); 935 + return READ_ONCE(rd->overloaded); 936 936 } 937 937 938 938 static inline void set_rd_overload(struct root_domain *rd, int status) 939 939 { 940 940 if (get_rd_overload(rd) != status) 941 - WRITE_ONCE(rd->overload, status); 941 + WRITE_ONCE(rd->overloaded, status); 942 942 } 943 943 944 944 #ifdef HAVE_RT_PUSH_IPI