smart_grid: make sure hot zone have the highest priority
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8TBJJ CVE: NA -------------------------------- The cpufreq policy may be shared between hot and warm zone. In the case for this, we have two sd_level which all belongs to one cpufreq policy. 1. sd_level 0, cpu list 124-127 2. sd_level 1, cpu list 96-127 So in the old code, 96-127 policy will be set to warm zone governor. But it should be hot zone governor, because We need to make sure hot zone have the highest priority. Fixes: 6a008918 ("smart_grid: cpufreq: introduce smart_grid cpufreq control") Signed-off-by:Yipeng Zou <zouyipeng@huawei.com>
Loading
Please sign in to comment