Skip to content

Commit a052f3c

Browse files
Colin Ian Kingxdevs23
authored andcommitted
sched/fair: remove upper limit on cpu number
Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Simão Gomes Viana <[email protected]>
1 parent 479548a commit a052f3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/sched/fair.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ static inline void update_load_set(struct load_weight *lw, unsigned long w)
191191
*/
192192
static unsigned int get_update_sysctl_factor(void)
193193
{
194-
unsigned int cpus = min_t(unsigned int, num_online_cpus(), 8);
194+
unsigned int cpus = num_online_cpus();
195195
unsigned int factor;
196196

197197
switch (sysctl_sched_tunable_scaling) {

0 commit comments

Comments
 (0)