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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to