svn commit: r351081 - head/sys/contrib/dev/acpica/include/platform
Jung-uk Kim
jkim at FreeBSD.org
Thu Aug 15 16:04:23 UTC 2019
Author: jkim
Date: Thu Aug 15 16:04:22 2019
New Revision: 351081
URL: https://svnweb.freebsd.org/changeset/base/351081
Log:
Enable ACPICA mutex debugging in INVARIANTS case.
This lets us detect lock order reversal in ACPICA code to avoid deadlock.
Modified:
head/sys/contrib/dev/acpica/include/platform/acfreebsd.h
Modified: head/sys/contrib/dev/acpica/include/platform/acfreebsd.h
==============================================================================
--- head/sys/contrib/dev/acpica/include/platform/acfreebsd.h Thu Aug 15 15:55:01 2019 (r351080)
+++ head/sys/contrib/dev/acpica/include/platform/acfreebsd.h Thu Aug 15 16:04:22 2019 (r351081)
@@ -203,6 +203,10 @@
#define DEBUGGER_THREADING 0 /* integrated with DDB */
+#ifdef INVARIANTS
+#define ACPI_MUTEX_DEBUG
+#endif
+
#else /* _KERNEL */
#if __STDC_HOSTED__
More information about the svn-src-head
mailing list