Skip to content

Commit f2a5b73

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 1c61dd4 commit f2a5b73

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

196196
switch (sysctl_sched_tunable_scaling) {

0 commit comments

Comments
 (0)