Messages in this thread | | | Date | Wed, 18 Mar 1998 11:36:56 -0500 (EST) | From | Steve Hsieh <> | Subject | Can someone please explain (redundant) NR_OPEN and OPEN_MAX defines |
| |
Can someone please explain which of these defines controls the maximum number of open files per process? In include/linux/limits.h, the comment for OPEN_MAX is /* # open files a process may have */, but I don't see any code using OPEN_MAX except for arch/sparc/kernel/sys_sunos.c.
NR_OPEN, on the other hand, is used quite a bit, but is uncommented. Plus it is defined in limits.h, and then undef'ed and redefined in fs.h. Is the NR_OPEN defined in limits.h redundant, and the true NR_OPEN in fs.h?
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |