aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/lorder/tests/Makefile
diff options
context:
space:
mode:
authorOlivier Certner <olce@FreeBSD.org>2026-10-08 13:58:01 +0000
committerOlivier Certner <olce@FreeBSD.org>2026-11-25 12:15:57 +0000
commitb2467eff3619333e7ce3a69f9829cdf07172882f (patch)
tree62e84e5b3ecffa47671642a9b35c2b7f8b42bed4 /usr.bin/lorder/tests/Makefile
parentdd960a798daa0562142102467daa47e6743b9ddc (diff)
acpi: Tasks: Always enqueue in the taskqueue right awayHEADmain
There is no need for delaying enqueuing ACPI tasks until the taskqueue's threads have started. Taskqueues perfectly support that, as once taskqueue threads are started, they will pick up enqueued tasks naturally. Remove this mechanism, which allows a number of simplifications: - Remove the now-useless ACPI_TASK_ENQUEUED flag. - Remove an atomic manipulation to set ACPI_TASK_ENQUEUED on each task enqueue in the common case. - Simplify AcpiOsWaitEventsComplete() by using taskqueue_drain_all() directly, and make it print a warning when called before the taskqueue threads have started. While here, use atomic functions to operate on 'acpi_taskq_started'. Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D61548
Diffstat (limited to 'usr.bin/lorder/tests/Makefile')
0 files changed, 0 insertions, 0 deletions