Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys Remove the unfinished code to add a memory segmen...
details: https://anonhg.NetBSD.org/src/rev/2f5b1c7779bd
branches: uebayasi-xip
changeset: 751676:2f5b1c7779bd
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Mon Apr 26 06:19:03 2010 +0000
description:
Remove the unfinished code to add a memory segment after uvm_page_init().
It doesn't even compile.
(In the future, we should allocate struct vm_page [] on the added memory
segment for NUMA's sake.)
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/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 | 59 ++----------------------------
34 files changed, 36 insertions(+), 170 deletions(-)
diffs (truncated from 699 to 300 lines):
diff -r 8521dd0d981b -r 2f5b1c7779bd sys/arch/acorn26/include/vmparam.h
--- a/sys/arch/acorn26/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/acorn26/include/vmparam.h Mon Apr 26 06:19:03 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.9.2.1 2010/04/26 06:19:03 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/acorn32/include/vmparam.h
--- a/sys/arch/acorn32/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/acorn32/include/vmparam.h Mon Apr 26 06:19:03 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.21.40.1 2010/04/26 06:19:03 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/alpha/include/vmparam.h
--- a/sys/arch/alpha/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/alpha/include/vmparam.h Mon Apr 26 06:19:03 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.33.2.1 2010/02/23 15:27:55 uebayasi Exp $ */
+/* $NetBSD: vmparam.h,v 1.33.2.2 2010/04/26 06:19:03 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/amd64/include/vmparam.h
--- a/sys/arch/amd64/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/amd64/include/vmparam.h Mon Apr 26 06:19:03 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.22.2.1 2010/02/23 15:27:55 uebayasi Exp $ */
+/* $NetBSD: vmparam.h,v 1.22.2.2 2010/04/26 06:19:03 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/amiga/include/vmparam.h
--- a/sys/arch/amiga/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/amiga/include/vmparam.h Mon Apr 26 06:19:03 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.39.2.1 2010/04/26 06:19:03 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/atari/include/vmparam.h
--- a/sys/arch/atari/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/atari/include/vmparam.h Mon Apr 26 06:19:03 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.26.2.1 2010/04/26 06:19:03 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/cats/include/vmparam.h
--- a/sys/arch/cats/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/cats/include/vmparam.h Mon Apr 26 06:19:03 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.26.40.1 2010/04/26 06:19:03 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/cesfic/include/vmparam.h
--- a/sys/arch/cesfic/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/cesfic/include/vmparam.h Mon Apr 26 06:19:03 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.12.2.1 2010/04/26 06:19:03 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/evbarm/include/vmparam.h
--- a/sys/arch/evbarm/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/evbarm/include/vmparam.h Mon Apr 26 06:19:03 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.25.20.1 2010/04/26 06:19:04 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/hp300/include/vmparam.h
--- a/sys/arch/hp300/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/hp300/include/vmparam.h Mon Apr 26 06:19:03 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.35.2.1 2010/04/26 06:19:04 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/hpcarm/include/vmparam.h
--- a/sys/arch/hpcarm/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/hpcarm/include/vmparam.h Mon Apr 26 06:19:03 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.28.40.1 2010/04/26 06:19:04 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/hppa/include/vmparam.h
--- a/sys/arch/hppa/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/hppa/include/vmparam.h Mon Apr 26 06:19:03 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.14.2.1 2010/02/23 15:27:55 uebayasi Exp $ */
+/* $NetBSD: vmparam.h,v 1.14.2.2 2010/04/26 06:19:04 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 1
#define VM_FREELIST_DEFAULT 0
diff -r 8521dd0d981b -r 2f5b1c7779bd sys/arch/i386/include/vmparam.h
--- a/sys/arch/i386/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/i386/include/vmparam.h Mon Apr 26 06:19:03 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.70.2.1 2010/02/23 15:27:55 uebayasi Exp $ */
+/* $NetBSD: vmparam.h,v 1.70.2.2 2010/04/26 06:19:04 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/ia64/include/vmparam.h
--- a/sys/arch/ia64/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/ia64/include/vmparam.h Mon Apr 26 06:19:03 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.5.2.1 2010/02/23 15:27:56 uebayasi Exp $ */
+/* $NetBSD: vmparam.h,v 1.5.2.2 2010/04/26 06:19:04 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/iyonix/include/vmparam.h
--- a/sys/arch/iyonix/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/iyonix/include/vmparam.h Mon Apr 26 06:19:03 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.3.40.1 2010/04/26 06:19:03 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 8521dd0d981b -r 2f5b1c7779bd sys/arch/luna68k/include/vmparam.h
--- a/sys/arch/luna68k/include/vmparam.h Sun Apr 25 18:01:09 2010 +0000
+++ b/sys/arch/luna68k/include/vmparam.h Mon Apr 26 06:19:03 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.15 2009/12/11 18:57:44 tsutsui Exp $ */
+/* $NetBSD: vmparam.h,v 1.15.2.1 2010/04/26 06:19:04 uebayasi Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@@ -150,7 +150,6 @@
*/
#define VM_PHYSSEG_MAX 1
#define VM_PHYSSEG_STRAT VM_PSTRAT_BSEARCH
Home |
Main Index |
Thread Index |
Old Index