2009-04-06 14:50:49

by David Howells

[permalink] [raw]
Subject: [PATCH] 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).

Signed-off-by: David Howells <[email protected]>
---

init/Kconfig | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)


diff --git a/init/Kconfig b/init/Kconfig
index 09c7953..c52d1d4 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -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


2009-04-06 17:04:39

by Jeff Garzik

[permalink] [raw]
Subject: Re: [PATCH] Make CONFIG_SLOW_WORK an automatic rather than manual config option

David Howells wrote:
> 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).
>
> Signed-off-by: David Howells <[email protected]>

Acked-by: Jeff Garzik <[email protected]>

thanks!

2009-04-06 17:08:14

by Kyle McMartin

[permalink] [raw]
Subject: Re: [PATCH] Make CONFIG_SLOW_WORK an automatic rather than manual config option

On Mon, Apr 06, 2009 at 03:47:25PM +0100, David Howells wrote:
> 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. :)