Source-Changes-HG archive

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

[src/trunk]: src/sys Remove incomplete, never worked dynamic run-time memory ...



details:   https://anonhg.NetBSD.org/src/rev/79c7e58ab026
branches:  trunk
changeset: 758507:79c7e58ab026
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sat Nov 06 15:42:43 2010 +0000

description:
Remove incomplete, never worked dynamic run-time memory registration
(uvm_page_physload(9)).  This functionality will be re-added later.

diffstat:

 sys/arch/acorn26/include/vmparam.h        |   4 +---
 sys/arch/acorn32/include/vmparam.h        |   9 +--------
 sys/arch/alpha/include/vmparam.h          |   3 +--
 sys/arch/amd64/include/vmparam.h          |   3 +--
 sys/arch/amiga/include/vmparam.h          |   3 +--
 sys/arch/atari/include/vmparam.h          |   3 +--
 sys/arch/cats/include/vmparam.h           |   9 +--------
 sys/arch/cesfic/include/vmparam.h         |   3 +--
 sys/arch/evbarm/include/vmparam.h         |   9 +--------
 sys/arch/hp300/include/vmparam.h          |   3 +--
 sys/arch/hpcarm/include/vmparam.h         |   9 +--------
 sys/arch/hppa/include/vmparam.h           |   4 +---
 sys/arch/i386/include/vmparam.h           |   3 +--
 sys/arch/ia64/include/vmparam.h           |   3 +--
 sys/arch/iyonix/include/vmparam.h         |   9 +--------
 sys/arch/luna68k/include/vmparam.h        |   3 +--
 sys/arch/mac68k/include/vmparam.h         |   3 +--
 sys/arch/mips/include/vmparam.h           |   3 +--
 sys/arch/mvme68k/include/vmparam.h        |   3 +--
 sys/arch/netwinder/include/vmparam.h      |   9 +--------
 sys/arch/news68k/include/vmparam.h        |   3 +--
 sys/arch/next68k/include/vmparam.h        |   3 +--
 sys/arch/powerpc/include/booke/vmparam.h  |   1 -
 sys/arch/powerpc/include/ibm4xx/vmparam.h |   3 +--
 sys/arch/powerpc/include/oea/vmparam.h    |   1 -
 sys/arch/sh3/include/vmparam.h            |   3 +--
 sys/arch/shark/include/vmparam.h          |   9 +--------
 sys/arch/sparc/include/vmparam.h          |   3 +--
 sys/arch/sparc64/include/vmparam.h        |   3 +--
 sys/arch/sun2/include/vmparam.h           |   3 +--
 sys/arch/sun3/include/vmparam.h           |   3 +--
 sys/arch/vax/include/vmparam.h            |   3 +--
 sys/arch/x68k/include/vmparam.h           |   3 +--
 sys/arch/zaurus/include/vmparam.h         |   9 +--------
 sys/uvm/uvm_page.c                        |  30 ++----------------------------
 35 files changed, 34 insertions(+), 144 deletions(-)

diffs (truncated from 668 to 300 lines):

diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/acorn26/include/vmparam.h
--- a/sys/arch/acorn26/include/vmparam.h        Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/acorn26/include/vmparam.h        Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.9 2009/03/06 20:31:46 joerg Exp $        */
+/*     $NetBSD: vmparam.h,v 1.10 2010/11/06 15:42:43 uebayasi Exp $    */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -100,8 +100,6 @@
 
 #define VM_PHYSSEG_STRAT       VM_PSTRAT_BIGFIRST
 
-#define VM_PHYSSEG_NOADD       /* We won't turn up extra memory during autoconfig */
-
 #define VM_NFREELIST           2
 #define VM_FREELIST_LOW                1 /* DMA-able memory (bottom 512k phys) */
 #define VM_FREELIST_DEFAULT    0 /* The rest */
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/acorn32/include/vmparam.h
--- a/sys/arch/acorn32/include/vmparam.h        Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/acorn32/include/vmparam.h        Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.21 2007/10/25 13:03:03 yamt Exp $        */
+/*     $NetBSD: vmparam.h,v 1.22 2010/11/06 15:42:43 uebayasi Exp $    */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -76,13 +76,6 @@
 #define        VM_PHYSSEG_STRAT        VM_PSTRAT_BSEARCH
 
 /*
- * this indicates that we can't add RAM to the VM system after the
- * vm system is init'd.
- */
-
-#define        VM_PHYSSEG_NOADD
-
-/*
  * we support 2 free lists:
  *
  *     - DEFAULT for all systems
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/alpha/include/vmparam.h
--- a/sys/arch/alpha/include/vmparam.h  Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/alpha/include/vmparam.h  Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.33 2009/03/06 20:31:46 joerg Exp $ */
+/* $NetBSD: vmparam.h,v 1.34 2010/11/06 15:42:43 uebayasi Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -147,7 +147,6 @@
 
 #define        VM_PHYSSEG_MAX          16              /* XXX */
 #define        VM_PHYSSEG_STRAT        VM_PSTRAT_BSEARCH
-#define        VM_PHYSSEG_NOADD                        /* no more after vm_mem_init */
 
 #define        VM_NFREELIST            1
 #define        VM_FREELIST_DEFAULT     0
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/amd64/include/vmparam.h
--- a/sys/arch/amd64/include/vmparam.h  Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/amd64/include/vmparam.h  Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.22 2009/11/22 21:41:03 bouyer Exp $      */
+/*     $NetBSD: vmparam.h,v 1.23 2010/11/06 15:42:44 uebayasi Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -150,7 +150,6 @@
 
 #define VM_PHYSSEG_MAX         10      /* 1 "hole" + 9 free lists */
 #define VM_PHYSSEG_STRAT       VM_PSTRAT_BIGFIRST
-#define VM_PHYSSEG_NOADD               /* can't add RAM after vm_mem_init */
 
 #define        VM_NFREELIST            3
 #define        VM_FREELIST_DEFAULT     0
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/amiga/include/vmparam.h
--- a/sys/arch/amiga/include/vmparam.h  Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/amiga/include/vmparam.h  Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.39 2009/12/08 13:47:26 tsutsui Exp $     */
+/*     $NetBSD: vmparam.h,v 1.40 2010/11/06 15:42:44 uebayasi Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -159,7 +159,6 @@
  */
 #define VM_PHYSSEG_MAX         (16)
 #define VM_PHYSSEG_STRAT       VM_PSTRAT_RANDOM
-#define VM_PHYSSEG_NOADD       /* XXX this should be done right later */
 
 /*
  * Allow supporting Zorro-II memory as lower priority:
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/atari/include/vmparam.h
--- a/sys/arch/atari/include/vmparam.h  Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/atari/include/vmparam.h  Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.26 2009/12/08 13:47:26 tsutsui Exp $     */
+/*     $NetBSD: vmparam.h,v 1.27 2010/11/06 15:42:44 uebayasi Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
@@ -156,7 +156,6 @@
  */
 #define VM_PHYSSEG_MAX         (2)
 #define VM_PHYSSEG_STRAT       VM_PSTRAT_RANDOM
-#define VM_PHYSSEG_NOADD
 
 #define        VM_NFREELIST            2
 #define        VM_FREELIST_DEFAULT     0
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/cats/include/vmparam.h
--- a/sys/arch/cats/include/vmparam.h   Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/cats/include/vmparam.h   Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.26 2007/10/25 13:03:03 yamt Exp $        */
+/*     $NetBSD: vmparam.h,v 1.27 2010/11/06 15:42:44 uebayasi Exp $    */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -76,13 +76,6 @@
 #define        VM_PHYSSEG_STRAT        VM_PSTRAT_BSEARCH
 
 /*
- * this indicates that we can't add RAM to the VM system after the
- * vm system is init'd.
- */
-
-#define        VM_PHYSSEG_NOADD
-
-/*
  * we support 2 free lists:
  *
  *     - DEFAULT for all systems
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/cesfic/include/vmparam.h
--- a/sys/arch/cesfic/include/vmparam.h Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/cesfic/include/vmparam.h Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.12 2009/12/08 13:47:26 tsutsui Exp $     */
+/*     $NetBSD: vmparam.h,v 1.13 2010/11/06 15:42:44 uebayasi Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -177,7 +177,6 @@
  */
 #define        VM_PHYSSEG_MAX          1
 #define        VM_PHYSSEG_STRAT        VM_PSTRAT_BSEARCH
-#define        VM_PHYSSEG_NOADD
 
 #define        VM_NFREELIST            1
 #define        VM_FREELIST_DEFAULT     0
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/evbarm/include/vmparam.h
--- a/sys/arch/evbarm/include/vmparam.h Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/evbarm/include/vmparam.h Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.25 2008/04/27 18:58:46 matt Exp $        */
+/*     $NetBSD: vmparam.h,v 1.26 2010/11/06 15:42:45 uebayasi Exp $    */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -80,13 +80,6 @@
 #define        VM_PHYSSEG_STRAT        VM_PSTRAT_BSEARCH
 
 /*
- * this indicates that we can't add RAM to the VM system after the
- * vm system is init'd.
- */
-
-#define        VM_PHYSSEG_NOADD
-
-/*
  * we support 2 free lists:
  *
  *     - DEFAULT for all systems
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/hp300/include/vmparam.h
--- a/sys/arch/hp300/include/vmparam.h  Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/hp300/include/vmparam.h  Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.35 2009/12/08 13:47:26 tsutsui Exp $     */
+/*     $NetBSD: vmparam.h,v 1.36 2010/11/06 15:42:45 uebayasi Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -171,7 +171,6 @@
  */
 #define        VM_PHYSSEG_MAX          1
 #define        VM_PHYSSEG_STRAT        VM_PSTRAT_BSEARCH
-#define        VM_PHYSSEG_NOADD
 
 #define        VM_NFREELIST            1
 #define        VM_FREELIST_DEFAULT     0
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/hpcarm/include/vmparam.h
--- a/sys/arch/hpcarm/include/vmparam.h Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/hpcarm/include/vmparam.h Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.28 2007/10/25 13:03:04 yamt Exp $        */
+/*     $NetBSD: vmparam.h,v 1.29 2010/11/06 15:42:45 uebayasi Exp $    */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -76,13 +76,6 @@
 #define        VM_PHYSSEG_STRAT        VM_PSTRAT_BSEARCH
 
 /*
- * this indicates that we can't add RAM to the VM system after the
- * vm system is init'd.
- */
-
-#define        VM_PHYSSEG_NOADD
-
-/*
  * we support 2 free lists:
  *
  *     - DEFAULT for all systems
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/hppa/include/vmparam.h
--- a/sys/arch/hppa/include/vmparam.h   Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/hppa/include/vmparam.h   Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.15 2010/02/16 16:56:30 skrll Exp $       */
+/*     $NetBSD: vmparam.h,v 1.16 2010/11/06 15:42:45 uebayasi Exp $    */
 
 /*     $OpenBSD: vmparam.h,v 1.33 2006/06/04 17:21:24 miod Exp $       */
 
@@ -95,8 +95,6 @@
 #define        VM_PHYSSEG_MAX  8       /* this many physmem segments */
 #define        VM_PHYSSEG_STRAT        VM_PSTRAT_BIGFIRST
 
-#define        VM_PHYSSEG_NOADD        /* XXX until uvm code is fixed */
-
 #define        VM_NFREELIST            2
 #define        VM_FREELIST_DEFAULT     0
 #define        VM_FREELIST_ISADMA      1
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/i386/include/vmparam.h
--- a/sys/arch/i386/include/vmparam.h   Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/i386/include/vmparam.h   Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.70 2009/03/06 20:31:49 joerg Exp $       */
+/*     $NetBSD: vmparam.h,v 1.71 2010/11/06 15:42:45 uebayasi Exp $    */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -122,7 +122,6 @@
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)
 
 #define VM_PHYSSEG_STRAT       VM_PSTRAT_BIGFIRST
-#define VM_PHYSSEG_NOADD               /* can't add RAM after vm_mem_init */
 
 #ifdef XEN
 #define        VM_PHYSSEG_MAX          1
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/ia64/include/vmparam.h
--- a/sys/arch/ia64/include/vmparam.h   Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/ia64/include/vmparam.h   Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.5 2009/07/20 04:41:37 kiyohara Exp $     */
+/*     $NetBSD: vmparam.h,v 1.6 2010/11/06 15:42:46 uebayasi Exp $     */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -102,7 +102,6 @@
 
 #define VM_PHYSSEG_MAX         16              /* XXX: */
 #define VM_PHYSSEG_STRAT       VM_PSTRAT_BSEARCH
-#define        VM_PHYSSEG_NOADD                        /* no more after vm_mem_init */
 
 #define        VM_NFREELIST            1 /* XXX: */
 #define        VM_FREELIST_DEFAULT     0 /* XXX: */
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/iyonix/include/vmparam.h
--- a/sys/arch/iyonix/include/vmparam.h Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/iyonix/include/vmparam.h Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.3 2007/10/25 13:03:04 yamt Exp $ */
+/*     $NetBSD: vmparam.h,v 1.4 2010/11/06 15:42:46 uebayasi Exp $     */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -76,13 +76,6 @@
 #define        VM_PHYSSEG_STRAT        VM_PSTRAT_BSEARCH
 
 /*
- * this indicates that we can't add RAM to the VM system after the
- * vm system is init'd.
- */
-
-#define        VM_PHYSSEG_NOADD
-
-/*
  * we support 2 free lists:
  *
  *     - DEFAULT for all systems
diff -r 9ed8aa6a9ef6 -r 79c7e58ab026 sys/arch/luna68k/include/vmparam.h
--- a/sys/arch/luna68k/include/vmparam.h        Sat Nov 06 15:26:57 2010 +0000
+++ b/sys/arch/luna68k/include/vmparam.h        Sat Nov 06 15:42:43 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.16 2010/02/08 19:02:29 joerg Exp $       */
+/*     $NetBSD: vmparam.h,v 1.17 2010/11/06 15:42:46 uebayasi Exp $    */
 
 /*
  * Copyright (c) 1982, 1986, 1990, 1993
@@ -149,7 +149,6 @@
  */
 #define VM_PHYSSEG_MAX         1
 #define VM_PHYSSEG_STRAT       VM_PSTRAT_BSEARCH



Home | Main Index | Thread Index | Old Index