Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 250955
b: refs/heads/master
c: 0ac1ee0
h: refs/heads/master
i:
  250953: 4301a7d
  250951: 273739d
v: v3
  • Loading branch information
Tim Gardner authored and Linus Torvalds committed May 25, 2011
1 parent 7694f16 commit 9e5d9dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: db271cf03f5fe39feab8e1b1818c0880c7290c5c
refs/heads/master: 0ac1ee0bfec2a4ad118f907ce586d0dfd8db7641
2 changes: 1 addition & 1 deletion trunk/include/asm-generic/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
[RLIMIT_CORE] = { 0, RLIM_INFINITY }, \
[RLIMIT_RSS] = { RLIM_INFINITY, RLIM_INFINITY }, \
[RLIMIT_NPROC] = { 0, 0 }, \
[RLIMIT_NOFILE] = { INR_OPEN, INR_OPEN }, \
[RLIMIT_NOFILE] = { INR_OPEN_CUR, INR_OPEN_MAX }, \
[RLIMIT_MEMLOCK] = { MLOCK_LIMIT, MLOCK_LIMIT }, \
[RLIMIT_AS] = { RLIM_INFINITY, RLIM_INFINITY }, \
[RLIMIT_LOCKS] = { RLIM_INFINITY, RLIM_INFINITY }, \
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/linux/fs.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@

/* Fixed constants first: */
#undef NR_OPEN
#define INR_OPEN 1024 /* Initial setting for nfile rlimits */
#define INR_OPEN_CUR 1024 /* Initial setting for nfile rlimits */
#define INR_OPEN_MAX 4096 /* Hard limit for nfile rlimits */

#define BLOCK_SIZE_BITS 10
#define BLOCK_SIZE (1<<BLOCK_SIZE_BITS)
Expand Down

0 comments on commit 9e5d9dd

Please sign in to comment.