lkml.org 
[lkml]   [2007]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Freezeable workqueues [Was: 2.6.22-rc1: Broken suspend on SMP with tifm]
Date
On Tuesday, 15 May 2007 02:56, Alex Dubov wrote:
> >
> > > > - Do we need freezeable workqueues ?
> > >
> > > Well, we have at least one case in which they appear to be useful.
> >
>
> I need freezeable wq exactly for the fact that they are synchronized with suspend/resume. My
> workitem may do device_register/unregister and it can (and will be) scheduled from irq handler
> during resume. As far as I understand, before freezeable wqs, kthreads were the only way to
> achieve this behavior,

That's correct.

> which is less convenient.

Thanks for the explanation.

Greetings,
Rafael
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-05-15 22:51    [from the cache]
©2003-2011 Jasper Spaans