freebsd-nq/sys
Andrew Turner d8bff5b67c Handle non-page aligned/sized memory in physmem
In some configurations the firmware may pass memory regions that are
not page sized or aligned, e.g. when using 16k pages on arm64. If this
is the case we will calculate many small regions because the alignment
is applied before being inserted. As we round the start up and end down
this will leave a 1 page hole between what should have been a single
region.

Fix by keeping the original alignment until we are just about to insert
the region into the avail array.

Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34694
2022-04-06 14:13:29 +01:00
..
amd64 linux(4): Add compat.linux32.emulate_i386 knob. 2022-03-31 21:01:09 +03:00
arm fdt_win_process_child: eliminate write only size variable 2022-04-04 22:29:16 -06:00
arm64 Fix a coherent bus check in the arm64 busdma 2022-04-06 14:11:12 +01:00
bsm
cam cam: Fix typos in source code comments 2022-04-02 10:13:35 +02:00
cddl
compat linuxkpi: move io_mapping_create_wc to .c 2022-04-04 23:06:37 -06:00
conf zstd: Supress set but unused warnings for zstd_compress_superblock.c 2022-04-05 21:42:05 -06:00
contrib zlib: replace CRLF line endings in zlib.map 2022-04-04 15:10:03 -04:00
crypto
ddb
dev neta: remove write only variable 2022-04-05 21:42:06 -06:00
dts
fs Unbreak the build: Also define NFSV42_OLDNPROCS here. 2022-04-05 11:54:20 -06:00
gdb
geom geom_vinum: fix set but not used warnings 2022-04-04 13:23:47 -08:00
gnu
i386
isa
kern Handle non-page aligned/sized memory in physmem 2022-04-06 14:13:29 +01:00
kgssapi
libkern
modules bcm5874: Add opt_usb.h for module dependency 2022-04-05 13:52:55 -06:00
net sysctl_dumpentry: move error to inner scope 2022-04-04 22:30:50 -06:00
net80211 net80211: validate Mesh ID length in ieee80211_parse_beacon 2022-04-05 22:58:28 +00:00
netgraph ng_pppoe(4): Fix a typo in a source code comment 2022-04-02 13:54:36 +02:00
netinet tcp cc: don't recurse on non recursive mutex 2022-04-05 13:52:36 +02:00
netinet6 pim6_input: eliminate write only variable rc 2022-04-04 22:30:52 -06:00
netipsec
netpfil netpfil: Fix two typo in source code comments 2022-04-02 14:18:11 +02:00
netsmb smb_smb_treedisconnect: eliminate write only variable mbp 2022-04-04 22:30:57 -06:00
nfs krpc_call: eliminiate write only variable nam 2022-04-04 22:31:00 -06:00
nfsclient
nfsserver
nlm
ofed
opencrypto
powerpc
riscv risc-v: Fix two typos in a source code comment 2022-04-02 08:58:45 +02:00
rpc svc_vc_rendezvous_stat: eliminiate write only variable stat 2022-04-04 22:31:04 -06:00
security
sys fix integer overflow bugs in *stosbt 2022-04-05 21:36:59 -06:00
teken
tests
tools
ufs
vm memguard(9): Fix two typos in source code comments 2022-04-02 13:51:27 +02:00
x86
xdr
xen
Makefile