Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Dec 2010 21:32:17 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r216625 - head/sys/sparc64/include
Message-ID:  <201012212132.oBLLWHGb076057@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Tue Dec 21 21:32:17 2010
New Revision: 216625
URL: http://svn.freebsd.org/changeset/base/216625

Log:
  Revert r216080 so kmem_map is capped at 3/5 of the currently rather modest
  kernel address space in order to leave space for the buffer cache, pipes,
  thread stacks, etc on machines with more physical memory until we take
  advantage of ASI_ATOMIC_QUAD_LDD_PHYS on CPUs providing it so we don't need
  to lock the kernel TSB pages into the dTLB, basically making the entire
  64-bit kernel address space available on relevant machines.
  
  Submitted by:	alc

Modified:
  head/sys/sparc64/include/vmparam.h

Modified: head/sys/sparc64/include/vmparam.h
==============================================================================
--- head/sys/sparc64/include/vmparam.h	Tue Dec 21 21:29:02 2010	(r216624)
+++ head/sys/sparc64/include/vmparam.h	Tue Dec 21 21:32:17 2010	(r216625)
@@ -240,7 +240,8 @@
  * Ceiling on amount of kmem_map kva space.
  */
 #ifndef VM_KMEM_SIZE_MAX
-#define	VM_KMEM_SIZE_MAX	(VM_MAX_KERNEL_ADDRESS - VM_MIN_KERNEL_ADDRESS)
+#define	VM_KMEM_SIZE_MAX	((VM_MAX_KERNEL_ADDRESS - \
+    VM_MIN_KERNEL_ADDRESS + 1) * 3 / 5)
 #endif
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012212132.oBLLWHGb076057>