lkml.org 
[lkml]   [2008]   [Nov]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromDavid Howells <>
SubjectRe: [PATCH 01/45] Create a dynamically sized pool of threads for doing very slow work items [ver #41]
DateFri, 21 Nov 2008 10:24:00 +0000
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...  This provides a limiter - and makes sure there are threads
immediately available.

David


\
 
 \ /
  Last update: 2008-11-21 11:29    [from the cache]
©2003-2008