Skip to content

Commit db1d2e3

Browse files
Colin Ian Kingkakra
authored andcommitted
sched/fair: remove upper limit on cpu number
Signed-off-by: Colin Ian King <colin.i.king@intel.com>
1 parent a01ae52 commit db1d2e3

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)