Re: suspend-to-{RAM,disk} for 2.5.17

Pavel Machek (pavel@suse.cz)
Wed, 22 May 2002 01:20:01 +0200


Hi!

> > Major parts are: process stopper, S3 specific code, S4 specific
> > code. What can I do to make this applied?
>
> Applied. Nothing needed but some time for me to look through it.

Wow, good!

> It still has a few too many #ifdef CONFIG_SUSPEND, and I get this
> feeling

I'll hunt them down.

> that the background deamons shouldn't need to do the "freeze()" by
> hand
> but simply be automatically frozen and thawed when they sleep by looking
> at the KERNTHREAD bit or something, but..

Do you think I should modify schedule() to do freezing automatically?
I wanted to keep my hands off hot paths... I'd rather not do that.

I guess adding maybe_refrigerator() macro should solve that without
introducing overhead in schedule().

Pavel

-- 
Casualities in World Trade Center: ~3k dead inside the building,
cryptography in U.S.A. and free speech in Czech Republic.
-
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/