opnsense-src/sys
Mitchell Horne 0d2224733e 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
2021-11-30 11:15:56 -04:00
..
amd64 x86 GENERIC/MINIMAL: group sc(4) devices together 2021-11-28 14:38:41 -05:00
arm Implement GET_STACK_USAGE on remaining archs 2021-11-30 11:15:56 -04:00
arm64 arm64, powerpc: fix calculation of 'used' in GET_STACK_USAGE 2021-11-30 11:15:44 -04:00
bsm
cam cfiscsi(4): Fix "set but not used" warning 2021-11-29 16:45:15 +00:00
cddl
compat syscalls: regen 2021-11-29 22:04:58 +00:00
conf flex_spi: Support for FlexSPI Flash controller. 2021-11-30 06:41:34 +01:00
contrib iwlwifi: import Intel's iwlwifi/mvm driver. 2021-11-28 19:17:04 +00:00
crypto aesni: plug a set-but-not-unused var in aesni_newsession 2021-11-24 16:25:50 +00:00
ddb
dev mpr(4): Fix a typo in a source code comment 2021-11-30 10:40:50 +01:00
dts add rk3328 overlay for enabling analog sound 2021-11-13 11:09:23 +02:00
fs ext2: Check for e2fs_first_dblock in ext2_compute_sb_data() 2021-11-29 09:53:45 -08:00
gdb
geom Implement GET_STACK_USAGE on remaining archs 2021-11-30 11:15:56 -04:00
gnu
i386 i386: take pcb and fpu area into account in GET_STACK_USAGE 2021-11-30 11:03:46 -04:00
isa
kern kern_tc: unify timecounter to bintime delta conversion 2021-11-30 15:23:23 +02:00
kgssapi
libkern
mips Implement GET_STACK_USAGE on remaining archs 2021-11-30 11:15:56 -04:00
modules flex_spi: Support for FlexSPI Flash controller. 2021-11-30 06:41:34 +01:00
net if_epair: ifdef vars only used with ALTQ 2021-11-24 21:28:54 +00:00
net80211 net80211: fix -Wunused-but-set-variable warnings 2021-11-24 17:39:19 +00:00
netgraph Implement GET_STACK_USAGE on remaining archs 2021-11-30 11:15:56 -04:00
netinet netinet: Fix a common typo in source code comments 2021-11-30 10:37:20 +01:00
netinet6 netinet6: Fix a typo in a sysctl description 2021-11-30 07:24:44 +01:00
netipsec netinet: Remove unneeded mb_unmapped_to_ext() calls 2021-11-24 13:31:16 -05:00
netpfil dummynet: Fix socket option length validation for IP_DUMMYNET3 2021-11-29 13:57:24 -05:00
netsmb
nfs kernel: partially revert e9efb1125a15, default inet mask 2021-11-14 14:12:25 -06:00
nfsclient
nfsserver
nlm
ofed
opencrypto ktls: Split encrypt vs decrypt OCF counters. 2021-11-16 09:58:52 -08:00
powerpc arm64, powerpc: fix calculation of 'used' in GET_STACK_USAGE 2021-11-30 11:15:44 -04:00
riscv Implement GET_STACK_USAGE on remaining archs 2021-11-30 11:15:56 -04:00
rpc mbuf: Only allow extpg mbufs if the system has a direct map 2021-11-16 13:31:04 -05:00
security vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
sys syscalls: regen 2021-11-29 22:04:58 +00:00
teken
tests
tools fw_stub: fix -Wunused-but-set-variable for firmware files 2021-11-30 14:23:18 +00:00
ufs vfs: remove the unused thread argument from NDINIT* 2021-11-25 22:50:42 +00:00
vm swapoff_one(): only check free pages count manually turning swap off 2021-11-29 18:38:02 +02:00
x86 minidump: Parameterize minidumpsys() 2021-11-19 15:05:52 -04:00
xdr
xen xen/privcmd: fix MMAP_RESOURCE ioctl to copy out results 2021-11-18 09:46:44 +01:00
Makefile