diff options
| author | John Dyson <dyson@FreeBSD.org> | 1996-10-06 22:26:13 +0000 |
|---|---|---|
| committer | John Dyson <dyson@FreeBSD.org> | 1996-10-06 22:26:13 +0000 |
| commit | 853a7bc8935419fd10b52391525791114ac550be (patch) | |
| tree | 309b0852f5b7e45dc42a0c0a402a91f19b9f115e /sys/vm | |
| parent | 353ef7f927252823d6fef90851fa0c431c8180c8 (diff) | |
Notes
Diffstat (limited to 'sys/vm')
| -rw-r--r-- | sys/vm/vm_page.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/sys/vm/vm_page.h b/sys/vm/vm_page.h index 35788013c2c7f..cfb2b68a7341c 100644 --- a/sys/vm/vm_page.h +++ b/sys/vm/vm_page.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_page.h,v 1.31 1996/07/30 03:08:17 dyson Exp $ + * $Id: vm_page.h,v 1.32 1996/09/08 20:44:46 dyson Exp $ */ /* @@ -134,13 +134,6 @@ struct vm_page { #define PQ_L1_SIZE 2 /* Two page L1 cache */ #endif -#if defined(PQ_MEDIUMCACHE) -#define PQ_PRIME1 13 /* Prime number somewhat less than PQ_HASH_SIZE */ -#define PQ_PRIME2 7 /* Prime number somewhat less than PQ_HASH_SIZE */ -#define PQ_PRIME3 5 /* Prime number somewhat less than PQ_HASH_SIZE */ -#define PQ_L2_SIZE 64 /* A number of colors opt for 256K cache */ -#define PQ_L1_SIZE 2 /* Two page L1 cache */ -#endif /* * Use 'options PQ_NOOPT' to disable page coloring @@ -153,7 +146,7 @@ struct vm_page { #define PQ_L1_SIZE 1 #endif -#if defined(PQ_NORMALCACHE) || !defined(PQ_L2_SIZE) +#if defined(PQ_NORMALCACHE) #define PQ_PRIME1 5 /* Prime number somewhat less than PQ_HASH_SIZE */ #define PQ_PRIME2 3 /* Prime number somewhat less than PQ_HASH_SIZE */ #define PQ_PRIME3 11 /* Prime number somewhat less than PQ_HASH_SIZE */ @@ -161,6 +154,14 @@ struct vm_page { #define PQ_L1_SIZE 2 /* Two page L1 cache */ #endif +#if defined(PQ_MEDIUMCACHE) || !defined(PQ_L2_SIZE) +#define PQ_PRIME1 13 /* Prime number somewhat less than PQ_HASH_SIZE */ +#define PQ_PRIME2 7 /* Prime number somewhat less than PQ_HASH_SIZE */ +#define PQ_PRIME3 5 /* Prime number somewhat less than PQ_HASH_SIZE */ +#define PQ_L2_SIZE 64 /* A number of colors opt for 256K cache */ +#define PQ_L1_SIZE 2 /* Two page L1 cache */ +#endif + #define PQ_L2_MASK (PQ_L2_SIZE - 1) #define PQ_NONE 0 |
