aboutsummaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorDavide Libenzi <davidel@xmailserver.org>2007-05-11 01:23:11 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-05-11 11:29:36 -0400
commit5dc8bf8132d59c03fe2562bce165c2f03f021687 (patch)
tree308e2acb2264c21c93d57b3fb9fb4869e162aa85 /init/Kconfig
parent325aa33da784e5997c756a151bc46e9cc9b79db2 (diff)
signal/timer/event fds: anonymous inode source
This patch add an anonymous inode source, to be used for files that need and inode only in order to create a file*. We do not care of having an inode for each file, and we do not even care of having different names in the associated dentries (dentry names will be same for classes of file*). This allow code reuse, and will be used by epoll, signalfd and timerfd (and whatever else there'll be). Signed-off-by: Davide Libenzi <davidel@xmailserver.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig10
1 files changed, 10 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 322b1f8c21b3..a80bd8326bc6 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -475,9 +475,19 @@ config FUTEX
475 support for "fast userspace mutexes". The resulting kernel may not 475 support for "fast userspace mutexes". The resulting kernel may not
476 run glibc-based applications correctly. 476 run glibc-based applications correctly.
477 477
478config ANON_INODES
479 bool "Enable anonymous inode source" if EMBEDDED
480 default y
481 help
482 Anonymous inode source for pseudo-files like epoll, signalfd,
483 timerfd and eventfd.
484
485 If unsure, say Y.
486
478config EPOLL 487config EPOLL
479 bool "Enable eventpoll support" if EMBEDDED 488 bool "Enable eventpoll support" if EMBEDDED
480 default y 489 default y
490 depends on ANON_INODES
481 help 491 help
482 Disabling this option will cause the kernel to be built without 492 Disabling this option will cause the kernel to be built without
483 support for epoll family of system calls. 493 support for epoll family of system calls.