diff options
author | Christopher Celio <celio@eecs.berkeley.edu> | 2015-01-20 17:11:21 -0800 |
---|---|---|
committer | Christopher Celio <celio@eecs.berkeley.edu> | 2015-01-20 17:14:46 -0800 |
commit | b222ef6bcb12197276affa231a4a3b36c068ea75 (patch) | |
tree | 3856428359bef6b0ffe8615396a6e2e8c5b304ea | |
parent | 68a2fe242b6255738caf1414f2d99fc4bcce3b7f (diff) | |
download | pk-b222ef6bcb12197276affa231a4a3b36c068ea75.zip pk-b222ef6bcb12197276affa231a4a3b36c068ea75.tar.gz pk-b222ef6bcb12197276affa231a4a3b36c068ea75.tar.bz2 |
Increased max number of files,fds statically supported by pk.
The SPECINT benchmark 445.gobmk reads in a lot of files and would
sometimes fail due to being unable to open more files.
-rw-r--r-- | pk/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,9 +7,9 @@ #include "frontend.h" #include "vm.h" -#define MAX_FDS 64 +#define MAX_FDS 128 static atomic_t fds[MAX_FDS]; -#define MAX_FILES 64 +#define MAX_FILES 128 static file_t files[MAX_FILES] = {[0 ... MAX_FILES-1] = {-1,{0}}}; file_t *stdout, *stdin, *stderr; |