From de731eda0cd73a217b77e11cd7b2391fa7815fe6 Mon Sep 17 00:00:00 2001 From: phk Date: Sat, 16 Sep 2000 18:28:24 +0000 Subject: 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. --- sys/alpha/include/param.h | 7 ------- sys/sys/param.h | 9 --------- 2 files changed, 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. */ -- cgit v1.1