Date: Tue, 1 Jan 2019 00:28:00 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org Subject: svn commit: r342662 - stable/12/sys/i386/i386 Message-ID: <201901010028.x010S0dk007378@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Tue Jan 1 00:28:00 2019 New Revision: 342662 URL: https://svnweb.freebsd.org/changeset/base/342662 Log: MFC r342594: i386: Fix allocation of the KVA frame for pmap_quick_enter_page(). Modified: stable/12/sys/i386/i386/pmap.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/i386/i386/pmap.c ============================================================================== --- stable/12/sys/i386/i386/pmap.c Tue Jan 1 00:25:25 2019 (r342661) +++ stable/12/sys/i386/i386/pmap.c Tue Jan 1 00:28:00 2019 (r342662) @@ -735,7 +735,7 @@ pmap_init_reserved_pages(void) pc->pc_cmap_pte2 = vtopte(pages + PAGE_SIZE); pc->pc_cmap_addr1 = (caddr_t)pages; pc->pc_cmap_addr2 = (caddr_t)(pages + PAGE_SIZE); - pc->pc_qmap_addr = pages + atop(2); + pc->pc_qmap_addr = pages + ptoa(2); } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201901010028.x010S0dk007378>