Skip to contentSkip to conversation

Make CONFIG_SLOW_WORK an automatic rather than manual config option

PATCH In review David Howells 3 participants 3 messages Apr 6, 2009 VFS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Make CONFIG_SLOW_WORK an automatic rather than manual config option

Make CONFIG_SLOW_WORK an automatic rather than manual config option so that people configuring their kernels don't have to make the choice. It can be selected automatically by those things that require it (such as FS-Cache).

---

 init/Kconfig |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
init/Kconfig +3 -1
index 09c7953..c52d1d4 100644
@@ -1016,7 +1016,7 @@ source "arch/Kconfig"
 
 config SLOW_WORK
 	default n
-	bool "Enable slow work thread pool"
+	bool
 	help
 	  The slow work thread pool provides a number of dynamically allocated
 	  threads that can be used by the kernel to perform operations that
@@ -1026,6 +1026,8 @@ config SLOW_WORK
 	  by a series of mkdirs and a create call, all of which have to touch
 	  disk.
 
+	  See Documentation/slow-work.txt.
+
 endmenu		# General setup
 
 config HAVE_GENERIC_DMA_COHERENT
#2 lore raw
In reply to David Howells
Quoted 4 lines · David Howells

Make CONFIG_SLOW_WORK an automatic rather than manual config option so that people configuring their kernels don't have to make the choice. It can be selected automatically by those things that require it (such as FS-Cache).

Thanks, I had the damndest time figuring out if this was appropriate for rawhide. :)