Re: [RFC][PATCH -mm 2/3] freezer: Introduce freezer_flags

From: Satyam Sharma
Date: Sun Apr 22 2007 - 23:18:27 EST


On 4/23/07, Paul Jackson <pj@xxxxxxx> wrote:
One more question - why would I want to do this?

Check out the FAQ in Documentation/power/swsusp.txt.

Is this like something that would be useful on a laptop, to suspend
activity and reduce battery drain, while preserving the current state
of ones sessions and avoiding having to logout or shutdown?

Yes, the original purpose for the inclusion of the freezer code was to
support suspend-resume (mainly for laptops, but suspend-resume could
be useful in other circumstances too, see the FAQ).

Is it useful for quietting a system down before doing hot plug or
unplug of key components, such as processors and memory?

Yes, the freezer is (proposed to be, at least) moving on from being
merely a suspend-resume-only thing to other usage scenarios, such as
kprobes and hotlpug.
-
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/