Possible Bug on find_energy_efficient_cpu.
Hi guys!
I was studying your code about EAS on CFS and I saw something that made me thinking.
In your code in fair.c ::find_energy_efficient_cpu() at line 6293 there is this instruction:
base_energy_pd = compute_energy(p, -1, pd);
So in base_energy_pd there is the energy consumed by the core without p.
After this there is at line 6317
prev_delta = compute_energy(p, prev_cpu, pd);
That compute the energy with p on core prev_cpu.
My question is: Is safe do this operation without checking that OPP is the same? Could p on prev_cpu rising the OPP of the entire pd?
Thanks a lot!
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Dietmar Eggemann mentioned in commit 9c2876d5 · Imported
mentioned in commit 9c2876d5
- Dietmar Eggemann mentioned in commit 3a02764c · Imported
mentioned in commit 3a02764c
- Dietmar Eggemann mentioned in commit c087e948 · Imported
mentioned in commit c087e948
- Dietmar Eggemann mentioned in commit 704adfb5 · Imported
mentioned in commit 704adfb5
- Carsten Haitzler mentioned in commit ch-linux-perf@b853fd36 · Imported
mentioned in commit ch-linux-perf@b853fd36
- Carsten Haitzler mentioned in commit ch-linux-perf@e9c7d656 · Imported
mentioned in commit ch-linux-perf@e9c7d656
- Mark Rutland mentioned in commit ch-linux-perf@e533dbe9 · Imported
mentioned in commit ch-linux-perf@e533dbe9
- Dietmar Eggemann mentioned in commit ee8a9600 · Imported
mentioned in commit ee8a9600
- Dietmar Eggemann mentioned in commit aba5daeb · Imported
mentioned in commit aba5daeb
- Dietmar Eggemann mentioned in commit 57f0ff05 · Imported
mentioned in commit 57f0ff05
- Dietmar Eggemann mentioned in commit 4f74f187 · Imported
mentioned in commit 4f74f187
- Congregate Migrate mentioned in commit 56ee254d · Imported
mentioned in commit 56ee254d
By Ghost User on 2022-03-01T00:10:21
- Congregate Migrate mentioned in commit 74c42e1b · Imported
mentioned in commit 74c42e1b
By Ghost User on 2022-03-01T00:10:22
- Congregate Migrate mentioned in commit c32cef58 · Imported
mentioned in commit c32cef58
By Ghost User on 2022-03-01T00:13:54
- Pierre Gondois mentioned in commit a80ced6e · Imported
mentioned in commit a80ced6e
- Dietmar Eggemann mentioned in commit 24d7275c · Imported
mentioned in commit 24d7275c
- Dietmar Eggemann mentioned in commit 0764db9b · Imported
mentioned in commit 0764db9b
- Dietmar Eggemann mentioned in commit f9b141f9 · Imported
mentioned in commit f9b141f9
- Dietmar Eggemann mentioned in commit 23c2d497 · Imported
mentioned in commit 23c2d497
- Dietmar Eggemann mentioned in commit 94e81006 · Imported
mentioned in commit 94e81006
- Dietmar Eggemann mentioned in commit 51a6fa07 · Imported
mentioned in commit 51a6fa07
- Dietmar Eggemann mentioned in commit 4b335e1e · Imported
mentioned in commit 4b335e1e
- Dietmar Eggemann mentioned in commit a8616d2d · Imported
mentioned in commit a8616d2d
- Dietmar Eggemann mentioned in commit 9cc205e3 · Imported
mentioned in commit 9cc205e3
- Dietmar Eggemann mentioned in commit 550b33cf · Imported
mentioned in commit 550b33cf
- Dietmar Eggemann mentioned in commit 50e63dd8 · Imported
mentioned in commit 50e63dd8
- Dietmar Eggemann mentioned in commit ab57bc6f · Imported
mentioned in commit ab57bc6f
- Dietmar Eggemann mentioned in commit 1c6b3006 · Imported
mentioned in commit 1c6b3006
- Pierre Gondois mentioned in commit a4ab173f · Imported
mentioned in commit a4ab173f
- Dietmar Eggemann mentioned in commit a89ff5f5 · Imported
mentioned in commit a89ff5f5
- Dietmar Eggemann mentioned in commit e65a6897 · Imported
mentioned in commit e65a6897
- Pierre Gondois mentioned in commit b30a768c · Imported
mentioned in commit b30a768c
- Pierre Gondois mentioned in commit 3525911f · Imported
mentioned in commit 3525911f
- Dietmar Eggemann mentioned in commit 462a8e08 · Imported
mentioned in commit 462a8e08
- Pierre Gondois mentioned in commit d7284bf8 · Imported
mentioned in commit d7284bf8
- Dietmar Eggemann mentioned in commit fcde88af · Imported
mentioned in commit fcde88af
- Dietmar Eggemann mentioned in commit 902160cd · Imported
mentioned in commit 902160cd
- Dietmar Eggemann mentioned in commit d6a04437 · Imported
mentioned in commit d6a04437
- Dietmar Eggemann mentioned in commit 6eaf41e8 · Imported
mentioned in commit 6eaf41e8
- Dietmar Eggemann mentioned in commit 7f7cfcb6 · Imported
mentioned in commit 7f7cfcb6
- Dietmar Eggemann mentioned in commit d40ae85e · Imported
mentioned in commit d40ae85e
- Dietmar Eggemann mentioned in commit 675a15f4 · Imported
mentioned in commit 675a15f4
- Dietmar Eggemann mentioned in commit 8a96c028 · Imported
mentioned in commit 8a96c028
- Chris Redpath closed · Imported
closed
- Pierre Gondois mentioned in commit 41f10081 · Imported
mentioned in commit 41f10081
- Pierre Gondois mentioned in commit 41f10081 · Imported
mentioned in commit 41f10081
- Pierre Gondois mentioned in commit c8d430db · Imported
mentioned in commit c8d430db
- Pierre Gondois mentioned in commit 73f35080 · Imported
mentioned in commit 73f35080
- Pierre Gondois mentioned in commit 796787c9 · Imported
mentioned in commit 796787c9
- Pierre Gondois mentioned in commit 47b0c2e4 · Imported
mentioned in commit 47b0c2e4