Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/news68k/include Switch NetBSD/news68k to using 8KB/...



details:   https://anonhg.NetBSD.org/src/rev/2d6a456e50f7
branches:  trunk
changeset: 754579:2d6a456e50f7
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Tue May 04 16:47:13 2010 +0000

description:
Switch NetBSD/news68k to using 8KB/page in kernel.
It slightly improves performance on NWS-1750D (MC68030 25MHz):
http://mail-index.NetBSD.org/port-m68k/2009/12/08/msg000204.html

MI m68k/pmap_motorola.c and other sources can handle both 4KB/8KB pages
(amiga and atari have used 8KB pages for many years) and there is
no binary compatibility issue on it.
(kernel modules might be affected but 5.99.29 was just two days ago)

diffstat:

 sys/arch/news68k/include/param.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 85de58ec93dc -r 2d6a456e50f7 sys/arch/news68k/include/param.h
--- a/sys/arch/news68k/include/param.h  Tue May 04 15:38:04 2010 +0000
+++ b/sys/arch/news68k/include/param.h  Tue May 04 16:47:13 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.14 2009/12/11 17:53:22 tsutsui Exp $       */
+/*     $NetBSD: param.h,v 1.15 2010/05/04 16:47:13 tsutsui Exp $       */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -86,7 +86,7 @@
 #define        MACHINE         "news68k"
 
 
-#define        PGSHIFT         12              /* LOG2(NBPG) */
+#define        PGSHIFT         13              /* LOG2(NBPG) */
 #define        KERNBASE        0x00000000      /* start of kernel virtual */
 
 #define        UPAGES          2               /* pages of u-area */



Home | Main Index | Thread Index | Old Index