The branch main has been updated by olce:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=e89c3ac5df58a9eae9d01f325ffc9b34258c4b29

commit e89c3ac5df58a9eae9d01f325ffc9b34258c4b29
Author:     Olivier Certner <[email protected]>
AuthorDate: 2026-10-02 17:14:16 +0000
Commit:     Olivier Certner <[email protected]>
CommitDate: 2026-10-05 16:46:04 +0000

    acpi: Tasks: Document why 'acpi_task_count' is accessed unsynchronized
    
    MFC after:      3 days
    Sponsored by:   The FreeBSD Foundation
---
 sys/dev/acpica/Osd/OsdSchedule.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/dev/acpica/Osd/OsdSchedule.c b/sys/dev/acpica/Osd/OsdSchedule.c
index d4be416f94e2..c39d4112a039 100644
--- a/sys/dev/acpica/Osd/OsdSchedule.c
+++ b/sys/dev/acpica/Osd/OsdSchedule.c
@@ -83,6 +83,7 @@ struct acpi_task_ctx {
 
 struct taskqueue               *acpi_taskq;
 static struct acpi_task_ctx    *acpi_tasks;
+/* Unsynchronized as only useful in the mono-CPU startup phase. */
 static int                     acpi_task_count;
 static int                     acpi_taskq_started;
 

Reply via email to