freebsd-dev/sys
Alan Cox b7ec0d268b arm64: Introduce and use pmap_pte_exists()
Use pmap_pte_exists() instead of pmap_pte() when the caller expects a
mapping to exist at a particular level.  The caller benefits in two
ways from using pmap_pte_exists().  First, because the level is
specified to pmap_pte_exists() as a constant, rather than returned, the
compiler can specialize the implementation of pmap_pte_exists() to the
caller's exact needs, i.e., generate fewer instructions.  Consequently,
within a GENERIC-NODEBUG kernel, 704 bytes worth of instructions are
eliminated from the inner loops of various pmap functions.  Second,
suppose that the mapping doesn't exist.  Rather than requiring every
caller to implement its own KASSERT()s to report missing mappings, the
caller can optionally have pmap_pte_exists() provide the KASSERT().

Reviewed by:	andrew, kib
Tested by:	andrew (an earlier version)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D33597
2021-12-23 22:56:02 -06:00
..
amd64 sysent: regenerate 2021-12-16 20:56:28 -06:00
arm qca: add the TLMM code into the build 2021-12-23 10:42:00 -08:00
arm64 arm64: Introduce and use pmap_pte_exists() 2021-12-23 22:56:02 -06:00
bsm
cam cam: don't send scsi commands on shutdown when reboot method RB_NOSYNC 2021-12-20 06:32:51 +01:00
cddl dtrace: Disable getf() as it is broken on FreeBSD 2021-12-17 13:10:22 -05:00
compat linux: plug set-but-not-used vars 2021-12-18 13:12:15 +00:00
conf [PowerPC] PowerMac timebase sync for G4 2021-12-23 16:06:07 -06:00
contrib ipfilter: Move kernel bits to netpfil 2021-12-20 06:16:33 -08:00
crypto aesni: Fix an out-of-bounds read in AES_GCM_decrypt() 2021-12-16 09:17:06 -05:00
ddb
dev cxgbei: Don't fail task setup if the socket is disconnected. 2021-12-23 14:14:07 -08:00
dts add rk3328 overlay for enabling analog sound 2021-11-13 11:09:23 +02:00
fs rpc: Delete AUTH_NEEDS_TLS(_MUTUAL_HOST) auth_stat values 2021-12-23 14:31:53 -08:00
gdb
geom geom(4): Fix some of the "set but not used" warnings 2021-12-18 11:42:34 +00:00
gnu
i386 sysent: regenerate 2021-12-16 20:56:28 -06:00
isa
kern Fix buffer overread in preloaded hostuuid parsing 2021-12-22 16:47:23 +00:00
kgssapi
libkern
mips mips: Implement suword16 2021-12-19 12:48:49 +00:00
modules ipfilter: Move kernel bits to netpfil 2021-12-20 06:16:33 -08:00
net pf: make if_pfsync.h self-contained 2021-12-17 12:38:35 +01:00
net80211 net80211: fix debug printf 2021-12-23 15:21:32 +00:00
netgraph ng_pppoe: plug set-but-not-used vars 2021-12-15 12:32:40 +00:00
netinet Fix dtrace SDT probe tcp:::debug-input 2021-12-20 17:15:43 -09:00
netinet6 inet6: fix a LOR between rip and rawinp 2021-12-19 14:43:04 +00:00
netipsec crypto: Consistently use AES instead of Rijndael128 for the AES-CBC cipher. 2021-12-16 13:47:27 -08:00
netpfil ipfilter: Move kernel bits to netpfil 2021-12-20 06:16:33 -08:00
netsmb
nfs nfs: don't truncate directory cookies to 32-bits in the NFS server 2021-12-15 20:54:57 -07:00
nfsclient
nfsserver
nlm
ofed
opencrypto cryptodev.h: Drop 'extern' from function prototypes. 2021-12-21 12:33:49 -08:00
powerpc [PowerPC] PowerMac timebase sync for G4 2021-12-23 16:06:07 -06:00
riscv riscv: Fix PLIC -Wunused-but-set-variable warnings 2021-12-10 04:51:32 +00:00
rpc rpc: Delete AUTH_NEEDS_TLS(_MUTUAL_HOST) auth_stat values 2021-12-23 14:31:53 -08:00
security Thread creation privilege for realtime group 2021-12-15 00:01:58 +02:00
sys sys: make filedesc.h self-contained 2021-12-17 12:38:35 +01:00
teken
tests
tools sysent: move away from allowing all compat options for other ABIs 2021-12-16 20:56:28 -06:00
ufs Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
vm vm_page: Remove extra test, dup code from page alloc 2021-12-23 22:45:47 -06:00
x86 pci: add missing PCI id of Coffee Lake GPU 2021-12-17 23:18:31 +02:00
xdr
xen Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
Makefile