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.
This commit is contained in:
phk 2000-09-16 18:28:24 +00:00
parent 21507136e6
commit 36092920f1
2 changed files with 0 additions and 16 deletions

View File

@ -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))

View File

@ -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. */