Commit 1b2ccf0c authored by Robert Love's avatar Robert Love Committed by Linus Torvalds

[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: default avatarRobert Love <rml@novell.com>
Signed-off-by: default avatarJohn McCutchan <ttb@tentacle.dhs.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 5eb22cbc
...@@ -1028,8 +1028,8 @@ static int __init inotify_setup(void) ...@@ -1028,8 +1028,8 @@ static int __init inotify_setup(void)
register_filesystem(&inotify_fs_type); register_filesystem(&inotify_fs_type);
inotify_mnt = kern_mount(&inotify_fs_type); inotify_mnt = kern_mount(&inotify_fs_type);
inotify_max_queued_events = 8192; inotify_max_queued_events = 16384;
inotify_max_user_instances = 8; inotify_max_user_instances = 128;
inotify_max_user_watches = 8192; inotify_max_user_watches = 8192;
atomic_set(&inotify_cookie, 0); atomic_set(&inotify_cookie, 0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment