Skip to content

Commit 2f2273c

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 ee83136 commit 2f2273c

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
@@ -193,7 +193,7 @@ static inline void update_load_set(struct load_weight *lw, unsigned long w)
193193
*/
194194
static unsigned int get_update_sysctl_factor(void)
195195
{
196-
unsigned int cpus = min_t(unsigned int, num_online_cpus(), 8);
196+
unsigned int cpus = num_online_cpus();
197197
unsigned int factor;
198198

199199
switch (sysctl_sched_tunable_scaling) {

0 commit comments

Comments
 (0)