Date: Fri, 1 Feb 2019 00:37:55 +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: r343638 - stable/12/sys/x86/x86 Message-ID: <201902010037.x110bt3G047342@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Fri Feb 1 00:37:55 2019 New Revision: 343638 URL: https://svnweb.freebsd.org/changeset/base/343638 Log: MFC r343147: i386/PAE busdma: allow more bounce pages. Modified: stable/12/sys/x86/x86/busdma_bounce.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/x86/x86/busdma_bounce.c ============================================================================== --- stable/12/sys/x86/x86/busdma_bounce.c Fri Feb 1 00:36:14 2019 (r343637) +++ stable/12/sys/x86/x86/busdma_bounce.c Fri Feb 1 00:37:55 2019 (r343638) @@ -57,7 +57,7 @@ __FBSDID("$FreeBSD$"); #include <x86/include/busdma_impl.h> #ifdef __i386__ -#define MAX_BPAGES 512 +#define MAX_BPAGES (Maxmem > atop(0x100000000ULL) ? 8192 : 512) #else #define MAX_BPAGES 8192 #endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902010037.x110bt3G047342>