Re: JFFS2 swsusp / signal cleanup.

From: Pavel Machek
Date: Sun Oct 05 2003 - 11:13:02 EST


Hi!

> How's this look?

Is flush_signals() really so stupid to do? Goal was to make
modifications to code as simple as possible, and as most pieces do not
expect to be interrupted, pretending signal never happened seems like
good idea...
Pavel

> @@ -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.

--
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/