Re: which signal is sent to freeze process?

From: Pavel Machek
Date: Wed Jul 25 2007 - 14:31:32 EST


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

...and you want to look at kernel/power/process.c, too.

Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
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/