Browse Source

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.
pull/9/head
Christopher Celio 11 years ago
parent
commit
b222ef6bcb
  1. 4
      pk/file.c

4
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;

Loading…
Cancel
Save