Commit af7387ca by Roger Sayle Committed by Roger Sayle

* mips-tfile.c (PAGE_SIZE): Increase page size to 32K.

From-SVN: r67232
parent ac850948
2003-05-29 Roger Sayle <roger@eyesopen.com> 2003-05-29 Roger Sayle <roger@eyesopen.com>
* mips-tfile.c (PAGE_SIZE): Increase page size to 32K.
2003-05-29 Roger Sayle <roger@eyesopen.com>
Kaveh Ghazi <ghazi@caip.rutgers.edu> Kaveh Ghazi <ghazi@caip.rutgers.edu>
PR bootstrap/10169 PR bootstrap/10169
......
...@@ -898,13 +898,10 @@ enum alloc_type { ...@@ -898,13 +898,10 @@ enum alloc_type {
pages. On systems with a BSD malloc that define USE_MALLOC, the pages. On systems with a BSD malloc that define USE_MALLOC, the
MAX_CLUSTER_PAGES should be 1 less than a power of two, since malloc MAX_CLUSTER_PAGES should be 1 less than a power of two, since malloc
adds its overhead, and rounds up to the next power of 2. Pages are adds its overhead, and rounds up to the next power of 2. Pages are
linked together via a linked list. linked together via a linked list. */
If PAGE_SIZE is > 4096, the string length in the shash_t structure
can't be represented (assuming there are strings > 4096 bytes). */
#ifndef PAGE_SIZE #ifndef PAGE_SIZE
#define PAGE_SIZE 4096 /* size of varray pages */ #define PAGE_SIZE 32768 /* size of varray pages */
#endif #endif
#define PAGE_USIZE ((Size_t) PAGE_SIZE) #define PAGE_USIZE ((Size_t) PAGE_SIZE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment