Re: Problem with freezable workqueues

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Oleg Nesterov <oleg@...>, Pavel Machek <pavel@...>
Cc: Gautham R Shenoy <ego@...>, Johannes Berg <johannes@...>, LKML <linux-kernel@...>, Srivatsa Vaddagiri <vatsa@...>
Date: Tuesday, February 27, 2007 - 7:57 pm

On Wednesday, 28 February 2007 00:28, Oleg Nesterov wrote:

Yes, but not only this one.  Please see:

http://kernel.org/git/gitweb.cgi?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=...


Yes, that's what we want to do.


Well, we used the CPU hotplug for disabling nonboot CPUs before
freeze_processes() was called, because the freezer used to be totally unsafe
on SMP.  However, what we wanted from the beginning was to freeze tasks with
all CPUs on line (this way, for example, userland tasks should not notice that
we have played with the CPUs under them, but there are other reasons).


They all are PF_NOFREEZE, I suppose.  If we make all workqueues nonfreezable
(as they were before), the problem won't appear.


Yes, certainly.


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?

Rafael
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Problem with freezable workqueues, Rafael J. Wysocki, (Tue Feb 27, 5:51 pm)
Re: Problem with freezable workqueues, Johannes Berg, (Mon Mar 5, 8:30 pm)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Tue Mar 6, 4:31 pm)
Re: Problem with freezable workqueues, Johannes Berg, (Wed Mar 7, 7:10 pm)
Re: Problem with freezable workqueues, Nigel Cunningham, (Tue Mar 6, 6:25 pm)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Tue Mar 6, 6:57 pm)
Re: Problem with freezable workqueues, Srivatsa Vaddagiri, (Tue Feb 27, 11:01 pm)
Re: Problem with freezable workqueues, Srivatsa Vaddagiri, (Tue Feb 27, 11:51 pm)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Wed Feb 28, 7:11 am)
Re: Problem with freezable workqueues, Srivatsa Vaddagiri, (Wed Feb 28, 9:17 am)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Wed Feb 28, 3:17 pm)
Re: Problem with freezable workqueues, Oleg Nesterov, (Wed Feb 28, 3:32 pm)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Wed Feb 28, 3:43 pm)
Re: Problem with freezable workqueues, Oleg Nesterov, (Wed Feb 28, 4:08 pm)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Wed Feb 28, 4:25 pm)
Re: Problem with freezable workqueues, Pavel Machek, (Wed Feb 28, 5:16 pm)
Re: Problem with freezable workqueues, Oleg Nesterov, (Wed Feb 28, 4:35 pm)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Wed Feb 28, 6:39 pm)
Re: Problem with freezable workqueues, Pavel Machek, (Wed Feb 28, 6:44 pm)
[PATCH] Make XFS workqueues nonfreezable, Rafael J. Wysocki, (Wed Feb 28, 7:54 pm)
Re: [PATCH] Make XFS workqueues nonfreezable, Andrew Morton, (Thu Mar 1, 4:03 am)
Re: [PATCH] Make XFS workqueues nonfreezable, Pavel Machek, (Thu Mar 1, 5:15 am)
Re: [PATCH] Make XFS workqueues nonfreezable, Andrew Morton, (Thu Mar 1, 5:25 am)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Wed Feb 28, 1:40 pm)
Re: Problem with freezable workqueues, Srivatsa Vaddagiri, (Wed Feb 28, 9:27 am)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Wed Feb 28, 1:41 pm)
Re: Problem with freezable workqueues, Oleg Nesterov, (Tue Feb 27, 7:28 pm)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Tue Feb 27, 7:57 pm)
Re: Problem with freezable workqueues, Pavel Machek, (Wed Feb 28, 4:54 am)
Re: Problem with freezable workqueues, Srivatsa Vaddagiri, (Tue Feb 27, 11:07 pm)
Re: Problem with freezable workqueues, Gautham R Shenoy, (Wed Feb 28, 2:17 pm)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Wed Feb 28, 2:41 pm)
Re: Problem with freezable workqueues, Oleg Nesterov, (Wed Feb 28, 4:48 am)
Re: Problem with freezable workqueues, Srivatsa Vaddagiri, (Wed Feb 28, 5:10 am)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Wed Feb 28, 7:09 am)
Re: Problem with freezable workqueues, Oleg Nesterov, (Wed Feb 28, 5:43 am)
Re: Problem with freezable workqueues, Johannes Berg, (Tue Feb 27, 8:01 pm)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Tue Feb 27, 8:08 pm)
Re: Problem with freezable workqueues, Nigel Cunningham, (Tue Feb 27, 9:14 pm)
Re: Problem with freezable workqueues, Johannes Berg, (Wed Feb 28, 4:36 pm)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Wed Feb 28, 6:59 am)
Re: Problem with freezable workqueues, Johannes Berg, (Tue Feb 27, 7:36 pm)
Re: Problem with freezable workqueues, Gautham R Shenoy, (Wed Feb 28, 2:06 pm)
Re: Problem with freezable workqueues, Rafael J. Wysocki, (Tue Feb 27, 8:00 pm)
Re: Problem with freezable workqueues, Johannes Berg, (Tue Feb 27, 8:00 pm)