Mutex memory leak fix
Subsystems (2)
cover Mutex memory leak fix
Hi Rafael, we fixed a memory leak from a patch that was added to kernel in the previous ACPICA release. Please take this patch for the rc series.
Thanks,
Erik
Erik Kaneda (1):
ACPICA: Clean up context mutex during object deletion
drivers/acpi/acpica/utdelete.c | 8 ++++++++ 1 file changed, 8 insertions(+)
Signature · 1 line
2.29.2
PATCH 1/1 ACPICA: Clean up context mutex during object deletion
ACPICA commit bc43c878fd4ff27ba75b1d111b97ee90d4a82707
Fixes c27f3d011b08 ("Fix race in GenericSerialBus (I2C) and GPIO OpRegion parameter handling")
Reported-by John Garry <[email protected]>
Reported-by Xiang Chen <[email protected]>
Tested-by Xiang Chen <[email protected]>
Signed-off-by Erik Kaneda <[email protected]>
Signed-off-by Bob Moore <[email protected]>
--- drivers/acpi/acpica/utdelete.c | 8 ++++++++ 1 file changed, 8 insertions(+)
drivers/acpi/acpica/utdelete.c +8 -0
@@ -285,6 +285,14 @@ static void acpi_ut_delete_internal_obj(union acpi_operand_object *object) }break ; +case ACPI_TYPE_LOCAL_ADDRESS_HANDLER : + +ACPI_DEBUG_PRINT ((ACPI_DB_ALLOCATIONS , +"***** Address handler %p\n" , object)); + +acpi_os_delete_mutex (object->address_space.context_mutex); +break ; +default :break ;
Signature · 1 line
2.29.2
Re: [PATCH 1/1] ACPICA: Clean up context mutex during object deletion
Quoted 25 lines · Erik Kaneda
ACPICA commit
bc43c878fd4ff27ba75b1d111b97ee90d4a82707Fixes c27f3d011b08 ("Fix race in GenericSerialBus (I2C) and GPIO OpRegion parameter handling")Reported-by John Garry <[email protected]>Reported-by Xiang Chen <[email protected]>Tested-by Xiang Chen <[email protected]>Signed-off-by Erik Kaneda <[email protected]>Signed-off-by Bob Moore <[email protected]>--- drivers/acpi/acpica/utdelete.c | 8 ++++++++ 1 file changed, 8 insertions(+)drivers/acpi/acpica/utdelete.c +2
-0@@ -285,6 +285,14 @@ static void acpi_ut_delete_internal_obj(union acpi_operand_object *object) }break ; +case ACPI_TYPE_LOCAL_ADDRESS_HANDLER : +
drivers/acpi/acpica/utdelete.c static void acpi_ut_delete_internal_obj(union acpi_operand_object *object)
Quoted 10 lines
drivers/acpi/acpica/utdelete.c +6
-1+ACPI_DEBUG_PRINT ((ACPI_DB_ALLOCATIONS , +"***** Address handler %p\n" , object)); + +acpi_os_delete_mutex (object->address_space.context_mutex); +break ; +default :break ; --
Applied as 5.13-rc material, thanks!