summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-09-16 18:28:24 +0000
committerphk <phk@FreeBSD.org>2000-09-16 18:28:24 +0000
commitde731eda0cd73a217b77e11cd7b2391fa7815fe6 (patch)
treed628e7465389bba069fe565854707b4d659bcb50
parentf2b4e59044e4c3b4ef92c00f3c3214541742d52c (diff)
downloadFreeBSD-src-de731eda0cd73a217b77e11cd7b2391fa7815fe6.zip
FreeBSD-src-de731eda0cd73a217b77e11cd7b2391fa7815fe6.tar.gz
Remove a few leftover CLBYTES related bits.
This was in the good old days to patch up a logical pagesize on hardware with stupid VM pagesize. Vaxen I belive.
-rw-r--r--sys/alpha/include/param.h7
-rw-r--r--sys/sys/param.h9
2 files changed, 0 insertions, 16 deletions
diff --git a/sys/alpha/include/param.h b/sys/alpha/include/param.h
index 742a3f7..a845737 100644
--- a/sys/alpha/include/param.h
+++ b/sys/alpha/include/param.h
@@ -133,13 +133,6 @@
#define MCLBYTES (1 << MCLSHIFT) /* size of a m_buf cluster */
#define MCLOFSET (MCLBYTES - 1)
-/*
- * Size of kernel malloc arena in CLBYTES-sized logical pages
- */
-#ifndef NKMEMCLUSTERS
-#define NKMEMCLUSTERS (4096*1024/CLBYTES) /* XXX? */
-#endif
-
/* pages ("clicks") to disk blocks */
#define ctod(x) ((x) << (PAGE_SHIFT - DEV_BSHIFT))
#define dtoc(x) ((x) >> (PAGE_SHIFT - DEV_BSHIFT))
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 7ac0290..76edc74 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -131,15 +131,6 @@
#define NODEV (dev_t)(-1) /* non-existent device */
#endif
-/*
- * Clustering of hardware pages on machines with ridiculously small
- * page sizes is done here. The paging subsystem deals with units of
- * CLSIZE pte's describing PAGE_SIZE (from machine/machparam.h) pages each.
- */
-#if 0
-#define CLBYTES (CLSIZE*PAGE_SIZE)
-#endif
-
#define CBLOCK 128 /* Clist block size, must be a power of 2. */
#define CBQSIZE (CBLOCK/NBBY) /* Quote bytes/cblock - can do better. */
/* Data chars/clist. */
OpenPOWER on IntegriCloud