Re: [PATCH v2 04/17] PM: EM: Create a new function em_compute_costs()

From: Lukasz Luba
Date: Mon Jul 03 2023 - 11:09:27 EST




On 5/30/23 10:51, Dietmar Eggemann wrote:
On 12/05/2023 11:57, Lukasz Luba wrote:
Create a dedicated function which will be easier to maintain and re-use

I guess `refactor` would be more suitable than `create` here?

Good point, I'll rephrase that.


AFAICS, you factor out em_compute_costs() from em_create_perf_table() so
you can use it later for the updater of the runtime modifiable EM
em_dev_update_perf_domain() (in 10/17) as well.

[...]

yes