Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2011 17:49:05 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221334 - head/sys/ia64/include
Message-ID:  <201105021749.p42Hn53t048132@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Mon May  2 17:49:05 2011
New Revision: 221334
URL: http://svn.freebsd.org/changeset/base/221334

Log:
  Don't use the whole region 5 for KVA, because the CPU may not implement all
  of the 61 bits available within the region for virtual addressing.  Since
  there's no good way for us to map out the gap in the virtual address space,
  limit KVA to the architectural minimum implemented address bits. This still
  gives us 1 petabyte of KVA, so no worries.

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

Modified: head/sys/ia64/include/vmparam.h
==============================================================================
--- head/sys/ia64/include/vmparam.h	Mon May  2 17:46:59 2011	(r221333)
+++ head/sys/ia64/include/vmparam.h	Mon May  2 17:49:05 2011	(r221334)
@@ -182,7 +182,8 @@
 #define	VM_MIN_ADDRESS		0
 #define	VM_MAXUSER_ADDRESS	IA64_RR_BASE(IA64_VM_MINKERN_REGION)
 #define	VM_MIN_KERNEL_ADDRESS	IA64_RR_BASE(IA64_VM_MINKERN_REGION + 1)
-#define	VM_MAX_KERNEL_ADDRESS	(IA64_RR_BASE(IA64_VM_MINKERN_REGION + 2) - 1)
+#define	VM_MAX_KERNEL_ADDRESS	\
+		(VM_MIN_KERNEL_ADDRESS + IA64_REGION_GAP_START - 1)
 #define	VM_MAX_ADDRESS		~0UL
 
 #define	KERNBASE		VM_MAXUSER_ADDRESS



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