[PATCH v3 0/2] ACPI: processor: idle: Optimize acpi idle driver registration

Huisong Li posted 2 patches 2 months, 1 week ago
drivers/acpi/processor_driver.c |  3 ++
drivers/acpi/processor_idle.c   | 67 ++++++++++++++++++++++-----------
include/acpi/processor.h        |  8 ++++
3 files changed, 55 insertions(+), 23 deletions(-)
[PATCH v3 0/2] ACPI: processor: idle: Optimize acpi idle driver registration
Posted by Huisong Li 2 months, 1 week ago
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
Re: [PATCH v3 0/2] ACPI: processor: idle: Optimize acpi idle driver registration
Posted by lihuisong (C) 1 month, 2 weeks ago
Kindly ping for review.

在 2025/7/28 15:06, Huisong Li 写道:
> 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(-)
>