lkml.org 
[lkml]   [2008]   [Nov]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 01/45] Create a dynamically sized pool of threads for doing very slow work items [ver #41]
Date
Andrew Morton <akpm@linux-foundation.org> wrote:

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

No. The work is queued for later processing by the pool. The piece of memory
that records the pending work is much smaller than the memory required to hold
a thread. The threads in the pool actually do the work. The submitter of the
work gets on with its life - unless it has to be synchronous.

David


\
 
 \ /
  Last update: 2008-11-22 01:41    [W:0.128 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site