[PATCH 3/6] readahead: kconfig option READAHEAD_ALLOW_OVERHEADS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Introduce a kconfig option READAHEAD_ALLOW_OVERHEADS to enable users
to choose extra features that have overheads.

Features with overheads will be disabled by default.

Signed-off-by: Wu Fengguang <[email protected]>
---

--- linux-2.6.17-mm2.orig/mm/Kconfig
+++ linux-2.6.17-mm2/mm/Kconfig
@@ -182,10 +182,15 @@ config ADAPTIVE_READAHEAD
 	  It is known to work well for many desktops, file servers and
 	  postgresql databases. Say Y to try it out for yourself.
 
+config READAHEAD_ALLOW_OVERHEADS
+	bool "Allow extra features with overheads"
+	default n
+	depends on ADAPTIVE_READAHEAD
+
 config DEBUG_READAHEAD
 	bool "Readahead debug and accounting"
 	default y
-	depends on ADAPTIVE_READAHEAD
+	depends on READAHEAD_ALLOW_OVERHEADS
 	select DEBUG_FS
 	help
 	  This option injects extra code to dump detailed debug traces and do

--
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux