mm: Support compiling out madvise and fadvise
[sfrench/cifs-2.6.git] / init / Kconfig
index 44f9ed3dae2286a80792918b79c50870317410c4..782a65bf76ea1b5785e9c1e5928b617c8fd3b55c 100644 (file)
@@ -268,7 +268,7 @@ config CROSS_MEMORY_ATTACH
        help
          Enabling this option adds the system calls process_vm_readv and
          process_vm_writev which allow a process with the correct privileges
-         to directly read from or write to to another process's address space.
+         to directly read from or write to another process' address space.
          See the man page for more details.
 
 config FHANDLE
@@ -1537,6 +1537,16 @@ config AIO
          by some high performance threaded applications. Disabling
          this option saves about 7k.
 
+config ADVISE_SYSCALLS
+       bool "Enable madvise/fadvise syscalls" if EXPERT
+       default y
+       help
+         This option enables the madvise and fadvise syscalls, used by
+         applications to advise the kernel about their future memory or file
+         usage, improving performance. If building an embedded system where no
+         applications use these syscalls, you can disable this option to save
+         space.
+
 config PCI_QUIRKS
        default y
        bool "Enable PCI quirk workarounds" if EXPERT