diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-04-14 17:00:48 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-04-18 18:40:45 +0300 |
commit | faae443738c6f0dac9b0d3d11d108f6911a989a9 (patch) | |
tree | 71f1f76c24b65ddbb7b988411e87ecfad07c4a4a /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6d572d39b21fdd7411fe855a4fad479683ad99c5 (diff) | |
download | linux-faae443738c6f0dac9b0d3d11d108f6911a989a9.tar.xz |
ACPI: bus: Ensure that notify handlers are not running after removal
Currently, acpi_device_remove_notify_handler() may return while the
notify handler being removed is still running which may allow the
module holding that handler to be torn down prematurely.
Address this issue by making acpi_device_remove_notify_handler() wait
for the handling of all the ACPI events in progress to complete before
returning.
Fixes: 5894b0c46e49 ("ACPI / scan: Move bus operations and notification routines to bus.c")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions