freebsd-dev/sys
Doug Moore 6f1c890827 vm: Don't break vm reserv that can't meet align reqs
Function vm_reserv_test_contig has incorrectly used its alignment
and boundary parameters to find a well-positioned range of empty pages
in a reservation.  Consequently, a reservation could be broken
mistakenly when it was unable to provide a satisfactory set of pages.

Rename the function, correct the errors, and add assertions to detect
the error in case it appears again.

Reviewed by:	alc, markj
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D33344
2021-12-16 12:20:56 -06:00
..
amd64 Remove references to PCMCIA 2021-12-14 15:27:47 -07:00
arm Fix a set but not used warning in the arm GIC driver 2021-12-10 13:29:11 +00:00
arm64 rk_i2c_fill_tx: fixup previous commit 2021-12-15 13:21:16 +02:00
bsm
cam mmc_sim: fix setting of the mutex name 2021-12-15 13:42:02 +02:00
cddl stand/zfs: Mark pcount as unused 2021-12-15 19:47:48 -07:00
compat Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
conf pccard: Remove more of the PC Card infrastructure 2021-12-14 15:27:47 -07:00
contrib zfs: merge openzfs/zfs@f291fa658 (master) into main 2021-12-16 14:38:34 +01:00
crypto aesni: Fix an out-of-bounds read in AES_GCM_decrypt() 2021-12-16 09:17:06 -05:00
ddb
dev ida: plug set-but-not-used vars 2021-12-16 13:23:30 +00:00
dts add rk3328 overlay for enabling analog sound 2021-11-13 11:09:23 +02:00
fs Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
gdb
geom Revert "geom_bde: plug set-but-not-used vars" 2021-12-09 19:23:05 +00:00
gnu
i386 Remove references to PCMCIA 2021-12-14 15:27:47 -07:00
isa
kern Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
kgssapi
libkern
mips busdma: Remove outdated comments about Giant. 2021-12-09 22:18:53 -05:00
modules zfs: merge openzfs/zfs@f291fa658 (master) into main 2021-12-16 14:38:34 +01:00
net Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
net80211 net80211(4): Fix a typo in a sysctl description 2021-12-04 12:09:17 +01:00
netgraph ng_pppoe: plug set-but-not-used vars 2021-12-15 12:32:40 +00:00
netinet udp: Fix a use-after-free in udp_multi_input() 2021-12-16 09:17:05 -05:00
netinet6 inpcb: use locked variant of prison_check_ip*() 2021-12-14 09:38:52 -08:00
netipsec ipsec: fix a logic error in key_do_getnewspi 2021-12-14 19:30:42 +00:00
netpfil dummynet: drop unused definitions 2021-12-14 13:01:15 +01: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 socket: De-duplicate SBLOCKWAIT() definitions 2021-09-14 09:01:32 -04:00
opencrypto cryptosoft: Don't treat CRYPTO_NULL_HMAC as an hmac algorithm. 2021-12-15 13:33:15 -08:00
powerpc powerpc64: fix the calculation of Maxmem 2021-12-15 08:49:47 -03:00
riscv riscv: Fix PLIC -Wunused-but-set-variable warnings 2021-12-10 04:51:32 +00:00
rpc mbuf: Only allow extpg mbufs if the system has a direct map 2021-11-16 13:31:04 -05:00
security Thread creation privilege for realtime group 2021-12-15 00:01:58 +02:00
sys Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
teken
tests
tools syscalls: add COMPAT13 2021-12-09 02:48:32 +02:00
ufs Change VOP_READDIR's cookies argument to a **uint64_t 2021-12-15 20:54:57 -07:00
vm vm: Don't break vm reserv that can't meet align reqs 2021-12-16 12:20:56 -06:00
x86 xen: plug some of set-but-not-used vars 2021-12-15 13:46:17 +00:00
xdr
xen Create wrapper for Giant taken for newbus 2021-12-09 17:04:45 -07:00
Makefile