lkml.org 
[lkml]   [1998]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectCan 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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.020 / U:0.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site