Re: [PATCH v2 04/17] PM: EM: Create a new function em_compute_costs()
From: Dietmar Eggemann
Date: Tue May 30 2023 - 05:52:10 EST
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?
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.
[...]