Skip to content

Commit

Permalink
Patch max fd num
Browse files Browse the repository at this point in the history
  • Loading branch information
Yifei Teng committed Dec 7, 2015
1 parent 87829ae commit a5bdb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mp3/student-distrib/inc/proc/tasks.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ struct __attribute__ ((__packed__)) thread_kinfo

static_assert(sizeof(thread_kinfo) == THREAD_KSTACK_SIZE, "thread_kinfo size mismatch");

#define FD_ARRAY_LENGTH 128
#define FD_ARRAY_LENGTH 8
#define FD_FIXED_PART 2
#define FD_CYCLABLE_PART (FD_ARRAY_LENGTH - FD_FIXED_PART)
// There are 2 FDs that are fixed in one process.
Expand Down

0 comments on commit a5bdb79

Please sign in to comment.