Re: Problem with freezable workqueues
- From: "Rafael J. Wysocki" <rjw@xxxxxxx>
- Date: Wed, 28 Feb 2007 20:43:23 +0100
On Wednesday, 28 February 2007 20:32, Oleg Nesterov wrote:
On 02/28, Rafael J. Wysocki wrote:
--- workqueue.c.org 2007-02-28 18:32:48.000000000 +0530
+++ workqueue.c 2007-02-28 18:44:23.000000000 +0530
@@ -718,6 +718,8 @@ static void cleanup_workqueue_thread(str
insert_wq_barrier(cwq, &barr, 1);
cwq->should_stop = 1;
alive = 1;
+ if (frozen(cwq->thread))
+ thaw(cwq->thread);
}
spin_unlock_irq(&cwq->lock);
Unfortunately, the above code is mm-only. Is the analogous fix for 2.6.21-rc2
viable?
I am sorry, I lost track of this problem. As for 2.6.21, create_freezeable_workqueue
doesn't work and conflict with suspend. Why can't we remove it from XFS as you
suggested before?
Yes, we can (preparing a patch). I was just curious. :-)
Rafael
-
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/
- Follow-Ups:
- Re: Problem with freezable workqueues
- From: Oleg Nesterov
- Re: Problem with freezable workqueues
- References:
- Problem with freezable workqueues
- From: Rafael J. Wysocki
- Re: Problem with freezable workqueues
- From: Rafael J. Wysocki
- Re: Problem with freezable workqueues
- From: Oleg Nesterov
- Problem with freezable workqueues
- Prev by Date: [PATCH 3/5] crypto: Add LZO compression support to the crypto interface
- Next by Date: [PATCH 5/5] jffs2: Allow selection of compression mode via a sysfs attribute
- Previous by thread: Re: Problem with freezable workqueues
- Next by thread: Re: Problem with freezable workqueues
- Index(es):
Relevant Pages
|
|