DragonFlyBSD/src d9bb5df — sys/contrib/dev/acpica/source/components/parser psloop.c
acpi - Catch infinite parser recursions * Instrument AcpiPsParseLoop() and limited recursion depth to 5. Generally speaking this loop can call a very deep stack of routines and eat up the kernel stack. A depth limit of 5 might be a bit too low, but it doesn't take much more to blow up our current 16KB kernel stack. This prevents the kernel from double-faulting on excessively bad AML. * Works around reported boot-time double-faults on some laptops.
Delta | File | |
---|---|---|
+26 | -0 | sys/contrib/dev/acpica/source/components/parser/psloop.c |
+26 | -0 | 1 files |