opnsense-src/sys/riscv
Mitchell Horne 1d640e6135 Implement GET_STACK_USAGE on remaining archs
This definition enables callers to estimate remaining space on the
kstack, and take action on it. Notably, it enables optimizations in the
GEOM and netgraph subsystems to directly dispatch work items when there
is sufficient stack space, rather than queuing them for a worker thread.

Implement it for riscv, arm, and mips. Remove the #ifdefs, so it will
not go unimplemented elsewhere.

PR:		259157
Reviewed by:	mav, kib, markj (previous version)
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D32580

(cherry picked from commit 0d2224733e)
2021-12-07 14:13:47 -04:00
..
conf riscv: add COMPAT_FREEBSD12 option 2021-11-24 17:45:51 +01:00
include Implement GET_STACK_USAGE on remaining archs 2021-12-07 14:13:47 -04:00
riscv minidump: Use the provided dump bitset 2021-12-03 10:02:03 -04:00
sifive sifive_spi: Add missing case for SPIBUS_MODE_NONE 2021-09-07 13:08:20 +01:00