aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2020-08-20 00:52:53 +0000
committerMark Johnston <markj@FreeBSD.org>2020-08-20 00:52:53 +0000
commit72c7f24c8d2d136757bb30366d65b7e68943994d (patch)
tree61b6bd32293ab4fde2acafb6faa72622775811c7 /cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c
parentee4df38d0290d1b6f60f724a3df4f9ba4130b338 (diff)
downloadsrc-72c7f24c8d2d136757bb30366d65b7e68943994d.tar.gz
src-72c7f24c8d2d136757bb30366d65b7e68943994d.zip
Use pmap_mapbios() to map ACPI tables on amd64 and i386.
The ACPI table-mapping code used pmap_kenter_temporary() to create mappings, which in turn uses the fixed-size crashdump map. Moreover, the code was not verifying that the table fits in this map, so when mapping large tables we could clobber adjacent mappings. This use of pmap_kenter_temporary() appears to predate support in pmap_mapbios() for creating early mappings, but that restriction no longer applies. PR: 248746 Reviewed by: kib, mav Tested by: gallatin, Curtis Villamizar <curtis@ipv6.occnc.com> MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D26125
Notes
Notes: svn path=/head/; revision=364411
Diffstat (limited to 'cddl/contrib/opensolaris/lib/libzfs/common/libzfs_sendrecv.c')
0 files changed, 0 insertions, 0 deletions