From b222ef6bcb12197276affa231a4a3b36c068ea75 Mon Sep 17 00:00:00 2001 From: Christopher Celio Date: Tue, 20 Jan 2015 17:11:21 -0800 Subject: 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. --- pk/file.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pk') diff --git a/pk/file.c b/pk/file.c index e2510d8..4b85372 100644 --- a/pk/file.c +++ b/pk/file.c @@ -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; -- cgit v1.1