> > I'm afraid this is racy. We can't touch *cwq, it may be freed. Suppose> > that another thread does destroy_workqueue(), and we thaw that thread> > before cwq->thread.> > Okay, in that case I'd suggest removing create_freezeable_workqueue() and> make all workqueues nonfreezable once again for 2.6.21 (as far as I know, only> the two XFS workqueues are affected).> > Pavel, would that be acceptable?

Not sure... I really dislike XFS running while we are doingswsusp. I'd like to move in direction of freezeable workqueues in thefuture.