From 6bdf667b511f5b08aad68440306a31a60d61377b Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Fri, 18 Apr 2008 02:21:11 +0000 Subject: [PATCH] Remove cruft we got from Alpha, which was probably inherited from NetBSD. I.e. make it more like a FreeBSD header. --- sys/ia64/include/vmparam.h | 37 ++++++------------------------------- 1 file changed, 6 insertions(+), 31 deletions(-) diff --git a/sys/ia64/include/vmparam.h b/sys/ia64/include/vmparam.h index 44ae5d8cb65..9e65ea8fa2f 100644 --- a/sys/ia64/include/vmparam.h +++ b/sys/ia64/include/vmparam.h @@ -1,7 +1,3 @@ -/* $FreeBSD$ */ -/* From: NetBSD: vmparam.h,v 1.6 1997/09/23 23:23:23 mjacob Exp */ -#ifndef _MACHINE_VMPARAM_H -#define _MACHINE_VMPARAM_H /*- * Copyright (c) 1988 University of Utah. * Copyright (c) 1992, 1993 @@ -38,11 +34,13 @@ * from: Utah $Hdr: vmparam.h 1.16 91/01/18$ * * @(#)vmparam.h 8.2 (Berkeley) 4/22/94 + * + * $FreeBSD$ */ -/* - * Machine dependent constants for ia64. - */ +#ifndef _MACHINE_VMPARAM_H_ +#define _MACHINE_VMPARAM_H_ + /* * USRSTACK is the top (end) of the user stack. Immediately above the user * stack resides the syscall gateway page. @@ -71,18 +69,6 @@ #define SGROWSIZ (128UL*1024) /* amount to grow stack */ #endif -/* - * Boundary at which to place first MAPMEM segment if not explicitly - * specified. Should be a power of two. This allows some slop for - * the data segment to grow underneath the first mapped segment. - */ -#define MMSEG 0x200000 - -/* - * The size of the clock loop. - */ -#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 @@ -94,17 +80,6 @@ */ #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 - * pages against paging and will just swap you out rather than paging you. - * Note that each process has at least UPAGES pages which are not - * paged anyways, in addition to SAFERSS. - */ -#define SAFERSS 10 /* nominal ``small'' resident set size - protected against replacement */ - /* * We need region 7 virtual addresses for pagetables. */ @@ -207,4 +182,4 @@ #define VM_INITIAL_PAGEIN 16 #endif -#endif /* !_MACHINE_VMPARAM_H */ +#endif /* !_MACHINE_VMPARAM_H_ */