lkml.org 
[lkml]   [2011]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] thermal: Use freezable workqueue
Hello, Dmitry, Rafael.

On Tue, Feb 08, 2011 at 10:20:25AM +0100, Rafael J. Wysocki wrote:
> > > + thermal_wq = alloc_workqueue("thermal", WQ_FREEZEABLE, 0);
> >
> > Should probably be unbound as well.
>
> Yup, thanks.

Hmm.. why should it be unbound? Unbound wqs are primarily useful for
very long running (system daemon type) works which may also consume
considerable amount of cpu cycles.

> > FWIW, I would not mind if we had a global freezeable workqueue already
> > predefined. I could switch input_polldev and vmw_balloon to it and there
> > probably could be more users...
>
> Hmm, OK.
>
> Do you think we should add system_freezeable_wq to the set of predefined
> workqueues?

Oh, yeah, definitely. I'll write up a patch.

Thanks.

--
tejun


\
 
 \ /
  Last update: 2011-02-08 10:35    [W:0.045 / U:0.952 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site