lkml.org 
[lkml]   [2008]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [4/7] dst: thread pool.
Hi Ben.

On Thu, Dec 18, 2008 at 11:51:47AM +1100, Benjamin Herrenschmidt (benh@kernel.crashing.org) wrote:
> Heh. I think I counted 3 or 4 thread pool implementations already in the
> kernel though they are all ad-hoc attached to a given subsystem.

That's how such projects are implemented: when developers need to
extend some other sybsystem they do that with own implementation of the
needed feature. Moreover people frequently argue against importing some
new feature if there are no direct users of it (like may happen with
thread pools, which no one will use immediately), so why bother with
that crap (och, well, and interfaces, there will be definitely people
who do not like them) when it is possible just to make working what
you like? So I fully understand those who implemented it in theirs
subsystems. I would even call blaming them for not pushing theirs
implementations into generic location somewhat hypocritically because
of above :)

--
Evgeniy Polyakov


\
 
 \ /
  Last update: 2008-12-18 09:13    [W:0.046 / U:0.604 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site