mirror of
https://github.com/apache/nuttx.git
synced 2026-08-10 06:55:13 +00:00
QOS_REQ_MIN should return the highest value among all min requests (most restrictive lower bound), but plist_first returns the lowest. QOS_REQ_MAX should return the lowest value among all max requests (most restrictive upper bound), but plist_last returns the highest. This caused qos constraints to be ineffective. For example, two requests (32, 208000) and (104000, 104000) would merge to (32, 208000) instead of the correct (104000, 104000). Fix by using plist_last for QOS_REQ_MIN and plist_first for QOS_REQ_MAX. Signed-off-by: guanyi3 <guanyi3@xiaomi.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| devfreq.c | ||
| devfreq_ondemand.c | ||
| devfreq_performance.c | ||
| devfreq_powersave.c | ||
| devfreq_procfs.c | ||
| devfreq_qos.c | ||
| Kconfig | ||
| Make.defs | ||