mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-22 17:54:52 +00:00
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:
parent
ae2276e657
commit
1534d6d899
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65929
|
@ -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))
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue