[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2892.1233842127@redhat.com>
Date: Thu, 05 Feb 2009 13:55:27 +0000
From: David Howells <dhowells@...hat.com>
To: Arjan van de Ven <arjan@...radead.org>
Cc: dhowells@...hat.com, Andrew Morton <akpm@...ux-foundation.org>,
Evgeniy Polyakov <zbr@...emap.net>, Greg KH <greg@...ah.com>,
linux-kernel@...r.kernel.org, dst@...emap.net
Subject: Re: [4/7] dst: thread pool.
Arjan van de Ven <arjan@...radead.org> wrote:
> > 2: David Howells' "slow work" infrastructure
>
> this one is *weird*. The infrastructure deals with object refcounting
> somehow.
The slow-work facility keeps a reference on the object you've asked it to call
a function to be called upon until it has finished calling that function.
This simplifies the object handling code a lot, and allows you to avoid
slow-work synchronisation requests in object destructors.
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