Re: [PATCH v6 07/23] PM: EM: Refactor how the EM table is allocated and populated

From: Lukasz Luba
Date: Wed Jan 10 2024 - 08:57:39 EST




On 1/4/24 19:18, Rafael J. Wysocki wrote:
The changelog actually sets what happens here, so why don't you put
that into the changelog too? Something like: "Split the allocation
and initialization of the EM table"

OK I will do that.


On Thu, Jan 4, 2024 at 6:15 PM Lukasz Luba <lukasz.luba@xxxxxxx> wrote:

Split the process of allocation and data initialization for the EM table.
The upcoming changes for modifiable EM will use it.

This change is not expected to alter the general functionality.

Signed-off-by: Lukasz Luba <lukasz.luba@xxxxxxx>
---
kernel/power/energy_model.c | 55 ++++++++++++++++++++++---------------
1 file changed, 33 insertions(+), 22 deletions(-)

[snip]

--

The code changes LGTM.

Thanks