Lines Matching +full:4 +full:- +full:cores
1 // SPDX-License-Identifier: GPL-2.0
11 * Dynamically calculates the optimum number of high capacity COREs
14 * During topology updates the CPU capacities are always re-adjusted.
18 * -> hiperdispatch's reoccuring work function reads CPU capacities to
20 * -> during a topology update hiperdispatch's adjustment function
37 * - single CORE, with N threads, running N tasks
38 * - N separate COREs running N tasks,
39 * using individual COREs for individual tasks yield better
43 * Hiperdispatch tries to hint scheduler to use individual COREs for
44 * each task, as long as steal time on those COREs are less than 30%,
65 #define HD_DELAY_FACTOR (4)
66 #define HD_DELAY_INTERVAL (HZ / 4)
70 static cpumask_t hd_vl_coremask; /* Mask containing all vertical low COREs */
161 upscaling_cores = hd_high_capacity_cores - hd_entitled_cores; in hd_update_capacities()
169 upscaling_cores--; in hd_update_capacities()
202 steal = (steal * (HD_STEAL_AVG_WEIGHT - 1) + new) / HD_STEAL_AVG_WEIGHT; in hd_steal_avg()
229 steal_delta = (steal - hd_previous_steal) * 100 / time_delta; in hd_calculate_steal_percentage()
243 * If online cores are less or equal to entitled cores hiperdispatch in hd_capacity_work_fn()
277 .procname = ctl->procname, in hiperdispatch_ctl_handler()
322 return -ERANGE; in hd_steal_threshold_store()
348 return -ERANGE; in hd_delay_factor_store()
413 if (sysfs_create_group(&dev->kobj, &hd_attr_group)) in hd_create_attributes()