--- - branch: MAIN date: Fri Dec 31 14:22:42 UTC 2021 files: - new: '1.295' old: '1.294' path: src/sys/dev/acpi/acpi.c pathrev: src/sys/dev/acpi/acpi.c@1.295 type: modified id: 20211231T142242Z.c07642cfc7a500c47bfec761df64d5a1ddc11527 log: | acpi(9): Fix memory ordering and completion bugs in notifiers. 1. Guarantee everything which happened before acpi_register_notify has also happened before the notifier is actually called. 2. On acpi_deregister_notify, don't return until the notifier is definitely not running any more on any CPU, using AcpiOsWaitEventsComplete. module: src subject: 'CVS commit: src/sys/dev/acpi' unixtime: '1640960562' user: riastradh