Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Mar 2009 18:56:27 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r190272 - in head/sys: amd64/include i386/include
Message-ID:  <200903221856.n2MIuRhW076966@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Sun Mar 22 18:56:26 2009
New Revision: 190272
URL: http://svn.freebsd.org/changeset/base/190272

Log:
  Update stale comments.  The alternate address space mapping was eliminated
  when PAE support was added to i386.  The direct mapping exists on amd64.

Modified:
  head/sys/amd64/include/pmap.h
  head/sys/i386/include/pmap.h

Modified: head/sys/amd64/include/pmap.h
==============================================================================
--- head/sys/amd64/include/pmap.h	Sun Mar 22 17:22:14 2009	(r190271)
+++ head/sys/amd64/include/pmap.h	Sun Mar 22 18:56:26 2009	(r190272)
@@ -160,13 +160,7 @@ typedef u_int64_t pml4_entry_t;
 #define	PDESHIFT	(3)
 
 /*
- * Address of current and alternate address space page table maps
- * and directories.
- * XXX it might be saner to just direct map all of physical memory
- * into the kernel using 2MB pages.  We have enough space to do
- * it (2^47 bits of KVM, while current max physical addressability
- * is 2^40 physical bits).  Then we can get rid of the evil hole
- * in the page tables and the evil overlapping.
+ * Address of current address space page table maps and directories.
  */
 #ifdef _KERNEL
 #define	addr_PTmap	(KVADDR(PML4PML4I, 0, 0, 0))

Modified: head/sys/i386/include/pmap.h
==============================================================================
--- head/sys/i386/include/pmap.h	Sun Mar 22 17:22:14 2009	(r190271)
+++ head/sys/i386/include/pmap.h	Sun Mar 22 18:56:26 2009	(r190272)
@@ -174,8 +174,7 @@ typedef uint32_t pt_entry_t;
 #endif
 
 /*
- * Address of current and alternate address space page table maps
- * and directories.
+ * Address of current address space page table maps and directories.
  */
 #ifdef _KERNEL
 extern pt_entry_t PTmap[];



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