opnsense-src/sys/mips
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
..
atheros Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
beri Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
broadcom Avoid dump_avail[] redefinition. 2020-10-14 22:51:40 +00:00
cavium Fix a common typo in source code comments 2021-09-07 09:24:05 +02:00
conf hid: Import functions and constants required by new subsystem 2021-01-08 02:18:42 +03:00
include Implement GET_STACK_USAGE on remaining archs 2021-12-07 14:13:47 -04:00
ingenic mips: Fix build by using the correct device-tree include path 2021-01-16 11:34:10 +01:00
malta mips: fix build w/ TICK_USE_MALTA_RTC defined 2020-12-25 19:47:45 +01:00
mediatek mips: Fix build by using the correct device-tree include path 2021-01-16 11:34:10 +01:00
mips mips: Fix a typo in a source code comment 2021-12-03 16:53:27 +01:00
nlm crypto: Add a new type of crypto buffer for a single mbuf. 2021-10-21 08:51:26 -07:00