Source-Changes-HG archive

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

[src/trunk]: src/sys MAXSLP is defined to be a machine-independent scheduling...



details:   https://anonhg.NetBSD.org/src/rev/44d5b4f0db01
branches:  trunk
changeset: 517592:44d5b4f0db01
user:      soren <soren%NetBSD.org@localhost>
date:      Thu Nov 15 18:06:11 2001 +0000

description:
MAXSLP is defined to be a machine-independent scheduling parameter,
so move it into sys/param.h.

diffstat:

 sys/arch/acorn32/include/vmparam.h   |  13 +------------
 sys/arch/alpha/include/vmparam.h     |  13 +------------
 sys/arch/amiga/include/vmparam.h     |  13 +------------
 sys/arch/amigappc/include/vmparam.h  |  13 +------------
 sys/arch/arm26/include/vmparam.h     |  13 +------------
 sys/arch/arm32/include/vmparam.h     |  13 +------------
 sys/arch/atari/include/vmparam.h     |  13 +------------
 sys/arch/cats/include/vmparam.h      |  13 +------------
 sys/arch/cesfic/include/vmparam.h    |  13 +------------
 sys/arch/dnard/include/vmparam.h     |  13 +------------
 sys/arch/evbarm/include/vmparam.h    |  13 +------------
 sys/arch/hp300/include/vmparam.h     |  13 +------------
 sys/arch/hpcarm/include/vmparam.h    |  13 +------------
 sys/arch/i386/include/vmparam.h      |  13 +------------
 sys/arch/luna68k/include/vmparam.h   |  13 +++----------
 sys/arch/mac68k/include/vmparam.h    |  13 +------------
 sys/arch/macppc/include/vmparam.h    |  13 +------------
 sys/arch/mips/include/vmparam.h      |  13 +------------
 sys/arch/mvme68k/include/vmparam.h   |  13 +------------
 sys/arch/netwinder/include/vmparam.h |  13 +------------
 sys/arch/news68k/include/vmparam.h   |  13 +------------
 sys/arch/next68k/include/vmparam.h   |  13 +------------
 sys/arch/ofppc/include/vmparam.h     |  13 +------------
 sys/arch/pc532/include/vmparam.h     |  13 +------------
 sys/arch/prep/include/vmparam.h      |  13 +------------
 sys/arch/sandpoint/include/vmparam.h |  13 +------------
 sys/arch/sh3/include/vmparam.h       |  13 +------------
 sys/arch/sparc/include/vmparam.h     |  13 +------------
 sys/arch/sparc64/include/vmparam.h   |  13 +------------
 sys/arch/sun2/include/vmparam.h      |  13 +------------
 sys/arch/sun3/include/vmparam.h      |  13 +------------
 sys/arch/vax/include/vmparam.h       |  14 +-------------
 sys/arch/walnut/include/vmparam.h    |  13 +------------
 sys/arch/x68k/include/vmparam.h      |  13 +------------
 sys/arch/x86_64/include/vmparam.h    |  13 +------------
 sys/sys/param.h                      |  13 ++++++++++++-
 36 files changed, 49 insertions(+), 420 deletions(-)

diffs (truncated from 971 to 300 lines):

diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/acorn32/include/vmparam.h
--- a/sys/arch/acorn32/include/vmparam.h        Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/acorn32/include/vmparam.h        Thu Nov 15 18:06:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.2 2001/11/11 16:44:15 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.3 2001/11/15 18:06:11 soren Exp $        */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -70,17 +70,6 @@
 #endif
 
 /*
- * The time for a process to be blocked before being very swappable.
- * This is a number of seconds which the system takes as being a non-trivial
- * amount of real time.  You probably shouldn't change this;
- * it is used in subtle ways (fractions and multiples of it are, that is, like
- * half of a `long time'', almost a long time, etc.)
- * It is related to human patience and other factors which don't really
- * change over time.
- */
-#define        MAXSLP          20
-
-/*
  * Address space constants
  */
 
diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/alpha/include/vmparam.h
--- a/sys/arch/alpha/include/vmparam.h  Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/alpha/include/vmparam.h  Thu Nov 15 18:06:11 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.23 2001/05/01 02:53:06 thorpej Exp $ */
+/* $NetBSD: vmparam.h,v 1.24 2001/11/15 18:06:12 soren Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -97,17 +97,6 @@
 #endif
 
 /*
- * The time for a process to be blocked before being very swappable.
- * This is a number of seconds which the system takes as being a non-trivial
- * amount of real time.  You probably shouldn't change this;
- * it is used in subtle ways (fractions and multiples of it are, that is, like
- * half of a ``long time'', almost a long time, etc.)
- * It is related to human patience and other factors which don't really
- * change over time.
- */
-#define        MAXSLP          20
-
-/*
  * Mach derived constants
  */
 
diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/amiga/include/vmparam.h
--- a/sys/arch/amiga/include/vmparam.h  Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/amiga/include/vmparam.h  Thu Nov 15 18:06:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.29 2001/05/01 02:19:14 thorpej Exp $     */
+/*     $NetBSD: vmparam.h,v 1.30 2001/11/15 18:06:12 soren Exp $       */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -119,17 +119,6 @@
 #endif
 
 /*
- * The time for a process to be blocked before being very swappable.
- * This is a number of seconds which the system takes as being a non-trivial
- * amount of real time.  You probably shouldn't change this;
- * it is used in subtle ways (fractions and multiples of it are, that is, like
- * half of a ``long time'', almost a long time, etc.)
- * It is related to human patience and other factors which don't really
- * change over time.
- */
-#define        MAXSLP          20
-
-/*
  * user/kernel map constants
  */
 #define VM_MIN_ADDRESS         ((vaddr_t)0)            /* user min */
diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/amigappc/include/vmparam.h
--- a/sys/arch/amigappc/include/vmparam.h       Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/amigappc/include/vmparam.h       Thu Nov 15 18:06:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.3 2001/05/01 02:19:15 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.4 2001/11/15 18:06:12 soren Exp $        */
 
 /*-
  * Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -70,17 +70,6 @@
 #define        USRIOSIZE       1024
 
 /*
- * The time for a process to be blocked before being very swappable.
- * This is a number of seconds which the system takes as being a non-trivial
- * amount of real time.  You probably shouldn't change this;
- * it is used in subtle ways (fractions and multiples of it are, that is, like
- * half of a ``long time'', almost a long time, etc.)
- * It is related to human patience and other factors which don't really
- * change over time.
- */
-#define        MAXSLP          20
-
-/*
  * Would like to have MAX addresses = 0, but this doesn't (currently) work
  */
 #define        VM_MIN_ADDRESS          ((vaddr_t)0)
diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/arm26/include/vmparam.h
--- a/sys/arch/arm26/include/vmparam.h  Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/arm26/include/vmparam.h  Thu Nov 15 18:06:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.5 2001/05/01 02:19:15 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.6 2001/11/15 18:06:12 soren Exp $        */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -61,17 +61,6 @@
 #endif
 
 /*
- * The time for a process to be blocked before being very swappable.
- * This is a number of seconds which the system takes as being a non-trivial
- * amount of real time.  You probably shouldn't change this;
- * it is used in subtle ways (fractions and multiples of it are, that is, like
- * half of a `long time'', almost a long time, etc.)
- * It is related to human patience and other factors which don't really
- * change over time.
- */
-#define        MAXSLP          20
-
-/*
  * Override the default pager_map size, there's not enough KVA.
  */
 #define PAGER_MAP_SIZE          (1 * 1024 * 1024)
diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/arm32/include/vmparam.h
--- a/sys/arch/arm32/include/vmparam.h  Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/arm32/include/vmparam.h  Thu Nov 15 18:06:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.25 2001/11/11 16:44:15 thorpej Exp $     */
+/*     $NetBSD: vmparam.h,v 1.26 2001/11/15 18:06:12 soren Exp $       */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -70,17 +70,6 @@
 #endif
 
 /*
- * The time for a process to be blocked before being very swappable.
- * This is a number of seconds which the system takes as being a non-trivial
- * amount of real time.  You probably shouldn't change this;
- * it is used in subtle ways (fractions and multiples of it are, that is, like
- * half of a `long time'', almost a long time, etc.)
- * It is related to human patience and other factors which don't really
- * change over time.
- */
-#define        MAXSLP          20
-
-/*
  * Address space constants
  */
 
diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/atari/include/vmparam.h
--- a/sys/arch/atari/include/vmparam.h  Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/atari/include/vmparam.h  Thu Nov 15 18:06:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.16 2001/05/01 02:19:15 thorpej Exp $     */
+/*     $NetBSD: vmparam.h,v 1.17 2001/11/15 18:06:13 soren Exp $       */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -118,17 +118,6 @@
 #endif
 
 /*
- * The time for a process to be blocked before being very swappable.
- * This is a number of seconds which the system takes as being a non-trivial
- * amount of real time.  You probably shouldn't change this;
- * it is used in subtle ways (fractions and multiples of it are, that is, like
- * half of a ``long time'', almost a long time, etc.)
- * It is related to human patience and other factors which don't really
- * change over time.
- */
-#define        MAXSLP          20
-
-/*
  * user/kernel map constants
  */
 #define VM_MIN_ADDRESS         ((vaddr_t)0)
diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/cats/include/vmparam.h
--- a/sys/arch/cats/include/vmparam.h   Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/cats/include/vmparam.h   Thu Nov 15 18:06:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.4 2001/11/11 16:44:16 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.5 2001/11/15 18:06:13 soren Exp $        */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -70,17 +70,6 @@
 #endif
 
 /*
- * The time for a process to be blocked before being very swappable.
- * This is a number of seconds which the system takes as being a non-trivial
- * amount of real time.  You probably shouldn't change this;
- * it is used in subtle ways (fractions and multiples of it are, that is, like
- * half of a `long time'', almost a long time, etc.)
- * It is related to human patience and other factors which don't really
- * change over time.
- */
-#define        MAXSLP          20
-
-/*
  * Address space constants
  */
 
diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/cesfic/include/vmparam.h
--- a/sys/arch/cesfic/include/vmparam.h Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/cesfic/include/vmparam.h Thu Nov 15 18:06:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.2 2001/05/16 18:51:44 drochner Exp $     */
+/*     $NetBSD: vmparam.h,v 1.3 2001/11/15 18:06:13 soren Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -141,17 +141,6 @@
 #define        LOOPPAGES       (maxfree - firstfree)
 
 /*
- * The time for a process to be blocked before being very swappable.
- * This is a number of seconds which the system takes as being a non-trivial
- * amount of real time.  You probably shouldn't change this;
- * it is used in subtle ways (fractions and multiples of it are, that is, like
- * half of a ``long time'', almost a long time, etc.)
- * It is related to human patience and other factors which don't really
- * change over time.
- */
-#define        MAXSLP          20
-
-/*
  * A swapped in process is given a small amount of core without being bothered
  * by the page replacement algorithm.  Basically this says that if you are
  * swapped in you deserve some resources.  We protect the last SAFERSS
diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/dnard/include/vmparam.h
--- a/sys/arch/dnard/include/vmparam.h  Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/dnard/include/vmparam.h  Thu Nov 15 18:06:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.4 2001/11/11 16:44:16 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.5 2001/11/15 18:06:13 soren Exp $        */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -70,17 +70,6 @@
 #endif
 
 /*
- * The time for a process to be blocked before being very swappable.
- * This is a number of seconds which the system takes as being a non-trivial
- * amount of real time.  You probably shouldn't change this;
- * it is used in subtle ways (fractions and multiples of it are, that is, like
- * half of a `long time'', almost a long time, etc.)
- * It is related to human patience and other factors which don't really
- * change over time.
- */
-#define        MAXSLP          20
-
-/*
  * Address space constants
  */
 
diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/evbarm/include/vmparam.h
--- a/sys/arch/evbarm/include/vmparam.h Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/evbarm/include/vmparam.h Thu Nov 15 18:06:11 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.3 2001/11/11 16:44:15 thorpej Exp $      */
+/*     $NetBSD: vmparam.h,v 1.4 2001/11/15 18:06:13 soren Exp $        */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -70,17 +70,6 @@
 #endif
 
 /*
- * The time for a process to be blocked before being very swappable.
- * This is a number of seconds which the system takes as being a non-trivial
- * amount of real time.  You probably shouldn't change this;
- * it is used in subtle ways (fractions and multiples of it are, that is, like
- * half of a `long time'', almost a long time, etc.)
- * It is related to human patience and other factors which don't really
- * change over time.
- */
-#define        MAXSLP          20
-
-/*
  * Address space constants
  */
 
diff -r 8ef32bf9b588 -r 44d5b4f0db01 sys/arch/hp300/include/vmparam.h
--- a/sys/arch/hp300/include/vmparam.h  Thu Nov 15 16:20:37 2001 +0000
+++ b/sys/arch/hp300/include/vmparam.h  Thu Nov 15 18:06:11 2001 +0000



Home | Main Index | Thread Index | Old Index