lkml.org 
[lkml]   [2004]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kthread, signals and PF_FREEZE (suspend)
Hi!

> > The workqueues have PF_IOTHREAD set and I'm only seeing those on my
> > machine that's why it doesn't fail.
> >
> > But the migration threads for example call signal_pending() directly
> > after schedule() before checking PF_FREEZE and calling refrigerator()
> > (which BTW flushes all signals).
>
> This will only happen on SMP systems with > 1 cpu though? I don't
> think suspend works there anyway.
>
> However, ksoftirqd will die I think: that will hurt if lots of irqs
> come in.
>
> Pavel, what is the answer here? Should the refrigerator code be in
> the kthread infrastructure? Why does the workqueue code set
> PF_IOTHREAD?

I assumed that workqueues may be needed for harddisks to
function... If that's the case, it can't be simply stopped.
Pavel
--
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.060 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site