svn commit: r353162 - head/sys/arm64/arm64
Alan Cox
alc at FreeBSD.org
Mon Oct 7 03:37:28 UTC 2019
Author: alc
Date: Mon Oct 7 03:37:28 2019
New Revision: 353162
URL: https://svnweb.freebsd.org/changeset/base/353162
Log:
Eliminate a redundant bzero(). The l0 page table page was already zeroed
by efi_1t1_page().
MFC after: 1 week
Modified:
head/sys/arm64/arm64/efirt_machdep.c
Modified: head/sys/arm64/arm64/efirt_machdep.c
==============================================================================
--- head/sys/arm64/arm64/efirt_machdep.c Mon Oct 7 03:28:11 2019 (r353161)
+++ head/sys/arm64/arm64/efirt_machdep.c Mon Oct 7 03:37:28 2019 (r353162)
@@ -176,7 +176,6 @@ efi_create_1t1_map(struct efi_md *map, int ndesc, int
efi_l0_page = efi_1t1_page();
VM_OBJECT_WUNLOCK(obj_1t1_pt);
efi_l0 = (pd_entry_t *)PHYS_TO_DMAP(VM_PAGE_TO_PHYS(efi_l0_page));
- bzero(efi_l0, L0_ENTRIES * sizeof(*efi_l0));
for (i = 0, p = map; i < ndesc; i++, p = efi_next_descriptor(p,
descsz)) {
More information about the svn-src-head
mailing list