[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <19593.1227314338@redhat.com>
Date: Sat, 22 Nov 2008 00:38:58 +0000
From: David Howells <dhowells@...hat.com>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: dhowells@...hat.com, trond.myklebust@....uio.no,
viro@...IV.linux.org.uk, nfsv4@...ux-nfs.org,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 01/45] Create a dynamically sized pool of threads for doing very slow work items [ver #41]
Andrew Morton <akpm@...ux-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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists