lkml.org 
[lkml]   [2008]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 01/45] Create a dynamically sized pool of threads for doing very slow work items [ver #41]
On Fri, 21 Nov 2008 10:24:00 +0000 David Howells <dhowells@redhat.com> wrote:

> Andrew Morton <akpm@linux-foundation.org> wrote:
>
> > umm, if they're slow, why not create a kernel thread per operation?
> > Why add the thread pool?
>
> Because if someone does a tar of, say, a kernel tree, that'll create one
> thread per file...

OK.

> This provides a limiter - and makes sure there are threads
> immediately available.

Those two objectives seem incompatible. What does a caller do when the
limit has been hit? Do the work synchronously?



\
 
 \ /
  Last update: 2008-11-21 19:21    [W:0.123 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site