[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250728070612.1260859-1-lihuisong@huawei.com>
Date: Mon, 28 Jul 2025 15:06:10 +0800
From: Huisong Li <lihuisong@...wei.com>
To: <rafael@...nel.org>, <lenb@...nel.org>
CC: <linux-acpi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linuxarm@...wei.com>, <jonathan.cameron@...wei.com>,
<zhanjie9@...ilicon.com>, <zhenglifeng1@...wei.com>, <yubowen8@...wei.com>,
<liuyonglong@...wei.com>, <lihuisong@...wei.com>
Subject: [PATCH v3 0/2] ACPI: processor: idle: Optimize acpi idle driver registration
This series fix a memory leak issue and optimize the registration of
acpi idle driver to enhance its readability.
---
changelog:
v3:
* use a separate patch to fix memory leak.
* change the return value of the new function to void.
* change log level to debug on failure path.
v2:
* register cpuidle driver in advance when all of the CPUs have been
brought up.
https://patchwork.kernel.org/project/linux-acpi/patch/20250723121034.3685996-1-lihuisong@huawei.com/
v1:
https://patchwork.kernel.org/project/linux-acpi/patch/20250619061327.1674384-1-lihuisong@huawei.com/
Huisong Li (2):
ACPI: processor: idle: Fix memory leak when register cpuidle device
failed
ACPI: processor: idle: Optimize acpi idle driver registration
drivers/acpi/processor_driver.c | 3 ++
drivers/acpi/processor_idle.c | 67 ++++++++++++++++++++++-----------
include/acpi/processor.h | 8 ++++
3 files changed, 55 insertions(+), 23 deletions(-)
--
2.33.0
Powered by blists - more mailing lists