svn commit: r343638 - stable/12/sys/x86/x86

Konstantin Belousov kib at FreeBSD.org
Fri Feb 1 00:37:56 UTC 2019


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


More information about the svn-src-stable mailing list