kernel - Increase ACPI_SEMAPHORES_MAX_PENDING
commit51e1b77859b1cc4f8a67542a0135885121b29389
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 19 Oct 2017 04:43:27 +0000 (18 21:43 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 19 Oct 2017 04:43:27 +0000 (18 21:43 -0700)
treee4abc187d65fb6c29d6bec18bff1b4387854a6aa
parent80b62917d18ebb373f56ff8a080ed3db18700a1c
kernel - Increase ACPI_SEMAPHORES_MAX_PENDING

* Increase ACPI_SEMAPHORES_MAX_PENDING to a very large number.
  Some of the ACPI codes assumes that mutexes always succeed,
  but the mutex code uses the semaphore code and the semaphore
  code appears to have an arbitrary failure path based on the
  number of concurrent requests.

* This fixes kernel confusion and console spam from the ACPI
  subsystem when running sysctl -a concurrently on more than
  4 threads.
sys/dev/acpica/Osd/OsdSynch.c