path: root/init
diff options
authorThomas Petazzoni <>2008-10-15 22:05:12 -0700
committerLinus Torvalds <>2008-10-16 11:21:51 -0700
commitebf3f09c634906d371f2bfd71b41c7e0c52efe7e (patch)
tree4205040f47fba2675dc4c6b1407d15c9d6f8b355 /init
parentd8273674721faaf84bec2190c0c7a82972b37f73 (diff)
Configure out AIO support
This patchs adds the CONFIG_AIO option which allows to remove support for asynchronous I/O operations, that are not necessarly used by applications, particularly on embedded devices. As this is a size-reduction option, it depends on CONFIG_EMBEDDED. It allows to save ~7 kilobytes of kernel code/data: text data bss dec hex filename 1115067 119180 217088 1451335 162547 vmlinux 1108025 119048 217088 1444161 160941 -7042 -132 0 -7174 -1C06 +/- This patch has been originally written by Matt Mackall <>, and is part of the Linux Tiny project. [ build fix] Signed-off-by: Thomas Petazzoni <> Cc: Benjamin LaHaise <> Cc: Zach Brown <> Signed-off-by: Matt Mackall <> Signed-off-by: Randy Dunlap <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'init')
1 files changed, 8 insertions, 0 deletions
diff --git a/init/Kconfig b/init/Kconfig
index 8a8e2d00c40e..5ceff3249a2d 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -713,6 +713,14 @@ config SHMEM
option replaces shmem and tmpfs with the much simpler ramfs code,
which may be appropriate on small systems without swap.
+config AIO
+ bool "Enable AIO support" if EMBEDDED
+ default y
+ help
+ This option enables POSIX asynchronous I/O which may by used
+ by some high performance threaded applications. Disabling
+ this option saves about 7k.
default y
bool "Enable VM event counters for /proc/vmstat" if EMBEDDED