mm: Support compiling out madvise and fadvise
[sfrench/cifs-2.6.git] / init / Kconfig
index e84c6423a2e5a2dbe80157b13f8b16d17c3e2d06..782a65bf76ea1b5785e9c1e5928b617c8fd3b55c 100644 (file)
@@ -1537,6 +1537,16 @@ config AIO
          by some high performance threaded applications. Disabling
          this option saves about 7k.
 
          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
 config PCI_QUIRKS
        default y
        bool "Enable PCI quirk workarounds" if EXPERT