Re: [PATCH 01/45] Create a dynamically sized pool of threads fordoing very slow work items [ver #41]

From: Andrew Morton
Date: Fri Nov 21 2008 - 03:10:45 EST


On Thu, 20 Nov 2008 14:41:45 +0000 David Howells <dhowells@xxxxxxxxxx> wrote:

> Create a dynamically sized pool of threads for doing very slow work items, such
> as invoking mkdir() or rmdir() - things that may take a long time and may
> sleep, holding mutexes/semaphores and hogging a thread, and are thus unsuitable
> for workqueues.

umm, if they're slow, why not create a kernel thread per operation?
Why add the thread pool?

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