Re: which signal is sent to freeze process?

From: Rafael J. Wysocki
Date: Thu Jul 19 2007 - 17:55:05 EST


On Thursday, 19 July 2007 06:59, Nigel Cunningham wrote:
> Hi.
>
> On Thursday 19 July 2007 14:09:56 Agarwal, Lomesh wrote:
> > Can you point me to code where kernel captures process in signal
> > handling and code which runs after suspend to ram is finished?
>
> Sure.
>
> It's in kernel/signal.c (get_signal_to_deliver) for x86 and x86_64, and
> arch/<name>/kernel/signal.c for other arches. The support for other arches is
> the place x86 & x86_64 used to use - I wonder if they should be going away
> (Rafael cc'd to raise this point with him).

That's a good question. :-) I'll have a look.

Greetings,
Rafael


--
"Premature optimization is the root of all evil." - Donald Knuth
-
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/