tree aa920bd05c10ad6a0eabfefe06f58c3a472dcae3
parent 5eb22cbcdb849886c2584389faff5afb56c23876
author Robert Love <[EMAIL PROTECTED]> Mon, 25 Jul 2005 23:13:43 -0400
committer Linus Torvalds <[EMAIL PROTECTED]> Wed, 27 Jul 2005 03:37:22 -0700
[PATCH] inotify: change default limits
Change default inotify limits: Maximum instances per user to 128 and
maximum events per queue to 16k. The max instances used to be 128; the
change to 8 was a mistake. Memory consumption is fine.
Signed-off-by: Robert Love <[EMAIL PROTECTED]>
Signed-off-by: John McCutchan <[EMAIL PROTECTED]>
Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
fs/inotify.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fs/inotify.c b/fs/inotify.c
--- a/fs/inotify.c
+++ b/fs/inotify.c
@@ -1028,8 +1028,8 @@ static int __init inotify_setup(void)
register_filesystem(&inotify_fs_type);
inotify_mnt = kern_mount(&inotify_fs_type);
- inotify_max_queued_events = 8192;
- inotify_max_user_instances = 8;
+ inotify_max_queued_events = 16384;
+ inotify_max_user_instances = 128;
inotify_max_user_watches = 8192;
atomic_set(&inotify_cookie, 0);
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html