Commit 6400cd3
sched: restrict iowait boost to tasks with prefer_idle
Currently iowait doesn't distinguish background/foreground tasks and we
have seen cases where a device run to high frequency unnecessarily when
running some background I/O. This patch limits iowait boost to tasks with
prefer_idle only. Specifically, on Pixel, those are foreground and top
app tasks.
Bug: 130308826
Test: Boot and trace
Change-Id: I2d892beeb4b12b7e8f0fb2848c23982148648a10
Signed-off-by: Wei Wang <wvw@google.com>
Signed-off-by: Lau <laststandrighthere@gmail.com>1 parent b5c22ba commit 6400cd3
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4948 | 4948 | | |
4949 | 4949 | | |
4950 | 4950 | | |
| 4951 | + | |
4951 | 4952 | | |
4952 | 4953 | | |
4953 | 4954 | | |
| |||
4957 | 4958 | | |
4958 | 4959 | | |
4959 | 4960 | | |
4960 | | - | |
| 4961 | + | |
4961 | 4962 | | |
4962 | 4963 | | |
4963 | 4964 | | |
| |||
0 commit comments