mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v3 0/2] ACPI: processor: idle: Optimize acpi idle driver registration
@ 2025-07-28  7:06 Huisong Li
  2025-07-28  7:06 ` [PATCH v3 1/2] ACPI: processor: idle: Fix memory leak when register cpuidle device failed Huisong Li
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Huisong Li @ 2025-07-28  7:06 UTC (permalink / raw)
  To: rafael, lenb
  Cc: linux-acpi, linux-kernel, linuxarm, jonathan.cameron, zhanjie9,
	zhenglifeng1, yubowen8, liuyonglong, lihuisong

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-08-25  6:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-28  7:06 [PATCH v3 0/2] ACPI: processor: idle: Optimize acpi idle driver registration Huisong Li
2025-07-28  7:06 ` [PATCH v3 1/2] ACPI: processor: idle: Fix memory leak when register cpuidle device failed Huisong Li
2025-08-22 19:27   ` Rafael J. Wysocki
2025-07-28  7:06 ` [PATCH v3 2/2] ACPI: processor: idle: Optimize acpi idle driver registration Huisong Li
2025-08-23 16:13   ` Rafael J. Wysocki
2025-08-25  6:05     ` lihuisong (C)
2025-08-19 11:07 ` [PATCH v3 0/2] " lihuisong (C)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®