Re: Freezeable workqueues [Was: 2.6.22-rc1: Broken suspend on SMP with tifm]

From: Alex Dubov
Date: Mon May 14 2007 - 20:56:25 EST


>
> > > - 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, which is less convenient.





____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/