lkml.org 
[lkml]   [2003]   [Oct]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [pm] Re: JFFS2 swsusp / signal cleanup.
Hi!

> Do you need locking for recalc_sigpending()?

Hmm, seems so; btw your patch seems to miss it too:

> @@ -104,6 +105,13 @@
> schedule();
> }
>
> + if (current->flags & PF_FREEZE) {
> + refrigerator(0); /* When this loses its
> stupid flush_signals()
> + and starts just
> calling recalc_sigpending(),
> + you can remove the
> following: */
> + recalc_sigpending();
> + }
> +
> cond_resched();
>
> /* Put_super will send a SIGKILL and then wait on the
> sem.

I'll test it and send updated patch.
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 13:49    [W:0.040 / U:3.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site