File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -49,11 +49,13 @@ static inline void cpu_load_update_active(struct rq *this_rq) { }
49
49
* and does not change the user-interface for setting shares/weights.
50
50
*
51
51
* We increase resolution only if we have enough bits to allow this increased
52
- * resolution (i.e. BITS_PER_LONG > 32). The costs for increasing resolution
53
- * when BITS_PER_LONG <= 32 are pretty high and the returns do not justify the
54
- * increased costs.
52
+ * resolution (i.e. 64bit). The costs for increasing resolution when 32bit are
53
+ * pretty high and the returns do not justify the increased costs.
54
+ *
55
+ * Really only required when CONFIG_FAIR_GROUP_SCHED is also set, but to
56
+ * increase coverage and consistency always enable it on 64bit platforms.
55
57
*/
56
- #if 0 /* BITS_PER_LONG > 32 -- currently broken: it increases power usage under light load */
58
+ #ifdef CONFIG_64BIT
57
59
# define SCHED_LOAD_RESOLUTION 10
58
60
# define scale_load (w ) ((w) << SCHED_LOAD_RESOLUTION)
59
61
# define scale_load_down (w ) ((w) >> SCHED_LOAD_RESOLUTION)
You can’t perform that action at this time.
0 commit comments