diff options
Diffstat (limited to 'Documentation/filesystems/proc.txt')
-rw-r--r-- | Documentation/filesystems/proc.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Documentation/filesystems/proc.txt b/Documentation/filesystems/proc.txt index 86be879ed70e..71df353e367c 100644 --- a/Documentation/filesystems/proc.txt +++ b/Documentation/filesystems/proc.txt | |||
@@ -44,6 +44,7 @@ Table of Contents | |||
44 | 2.14 /proc/<pid>/io - Display the IO accounting fields | 44 | 2.14 /proc/<pid>/io - Display the IO accounting fields |
45 | 2.15 /proc/<pid>/coredump_filter - Core dump filtering settings | 45 | 2.15 /proc/<pid>/coredump_filter - Core dump filtering settings |
46 | 2.16 /proc/<pid>/mountinfo - Information about mounts | 46 | 2.16 /proc/<pid>/mountinfo - Information about mounts |
47 | 2.17 /proc/sys/fs/epoll - Configuration options for the epoll interface | ||
47 | 48 | ||
48 | ------------------------------------------------------------------------------ | 49 | ------------------------------------------------------------------------------ |
49 | Preface | 50 | Preface |
@@ -2486,4 +2487,30 @@ For more information on mount propagation see: | |||
2486 | 2487 | ||
2487 | Documentation/filesystems/sharedsubtree.txt | 2488 | Documentation/filesystems/sharedsubtree.txt |
2488 | 2489 | ||
2490 | 2.17 /proc/sys/fs/epoll - Configuration options for the epoll interface | ||
2491 | -------------------------------------------------------- | ||
2492 | |||
2493 | This directory contains configuration options for the epoll(7) interface. | ||
2494 | |||
2495 | max_user_instances | ||
2496 | ------------------ | ||
2497 | |||
2498 | This is the maximum number of epoll file descriptors that a single user can | ||
2499 | have open at a given time. The default value is 128, and should be enough | ||
2500 | for normal users. | ||
2501 | |||
2502 | max_user_watches | ||
2503 | ---------------- | ||
2504 | |||
2505 | Every epoll file descriptor can store a number of files to be monitored | ||
2506 | for event readiness. Each one of these monitored files constitutes a "watch". | ||
2507 | This configuration option sets the maximum number of "watches" that are | ||
2508 | allowed for each user. | ||
2509 | Each "watch" costs roughly 90 bytes on a 32bit kernel, and roughly 160 bytes | ||
2510 | on a 64bit one. | ||
2511 | The current default value for max_user_watches is the 1/32 of the available | ||
2512 | low memory, divided for the "watch" cost in bytes. | ||
2513 | |||
2514 | |||
2489 | ------------------------------------------------------------------------------ | 2515 | ------------------------------------------------------------------------------ |
2516 | |||