]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - init/Kconfig
next-20160111/aio
[karo-tx-linux.git] / init / Kconfig
index 22320804fbafdc57b7228b68392199657a7c2f49..76b72124f6196b35b5be1adb2b58168c42283df3 100644 (file)
@@ -1550,6 +1550,19 @@ config AIO
          by some high performance threaded applications. Disabling
          this option saves about 7k.
 
+config AIO_THREAD
+       bool "Support kernel thread based AIO" if EXPERT
+       depends on AIO
+       default y
+       help
+          This option enables using kernel thread based AIO which implements
+          asynchronous operations using the kernel's queue_work() mechanism.
+          The automatic use of threads for async operations is currently
+          disabled by default until the security implications for usage
+          are completely understood.  This functionality can be enabled at
+          runtime if this option is enabled by setting the fs.aio-auto-threads
+          to one.
+
 config ADVISE_SYSCALLS
        bool "Enable madvise/fadvise syscalls" if EXPERT
        default y