Re: [PATCH] [40/48] Suspend2 2.1.9.8 for 2.6.12: 616-prepare_image.patch

Nigel Cunningham
2005-07-12T08:37:43Z

Hi.

On Mon, 2005-07-11 at 04:13, Pavel Machek wrote:
> Hi!
>
> > diff -ruNp 617-proc.patch-old/kernel/power/suspend2_core/proc.c 617-proc.patch-new/kernel/power/suspend2_core/proc.c
> > --- 617-proc.patch-old/kernel/power/suspend2_core/proc.c 1970-01-01 10:00:00.000000000 +1000
> > +++ 617-proc.patch-new/kernel/power/suspend2_core/proc.c 2005-07-04 23:14:19.000000000 +1000
> > @@ -0,0 +1,336 @@
> > +/*
> > + * /kernel/power/proc.c
> > + *
> > + * Copyright (C) 2002-2005 Nigel Cunningham <nigel@suspend2.net>
> > + *
> > + * This file is released under the GPLv2.
> > + *
> > + * This file contains support for proc entries for tuning Software Suspend.
> > + *
> > + * We have a generic handler that deals with the most common cases, and
> > + * hooks for special handlers to use.
> > + *
> > + * Versions:
> > + * 1: /proc/sys/kernel/suspend the only tuning interface
> > + * 2: Initial version of this file
> > + * 3: Removed kernel debugger parameter.
> > + * Added checkpage parameter (for checking checksum of a page over time).
> > + * 4: Added entry for maximum granularity in splash screen progress bar.
> > + * (Progress bar is slow, but the right setting will vary with disk &
> > + * processor speed and the user's tastes).
> > + * 5: Added enable_escape to control ability to cancel aborting by pressing
> > + * ESC key.
> > + * 6: Removed checksumming and checkpage parameter. Made all debugging proc
> > + * entries dependant upon debugging being compiled in.
> > + * Meaning of some flags also changed in this version.
> > + * 7: Added header_locations entry to simplify getting the resume= parameter for
> > + * swapfiles easy and swapfile entry for automatically doing swapon/off from
> > + * swapfiles as well as partitions.
> > + * 8: Added option for marking process pages as pageset 2 (processes_pageset2).
> > + * 9: Added option for keep image mode.
> > + * Enumeration patch from Michael Frank applied.
> > + * 10: Various corrections to when options are disabled/enabled;
> > + * Added option for specifying expected compression.
> > + * 11: Added option for freezer testing. Debug only.
> > + * 12: Removed test entries no_async_[read|write], processes_pageset2 and
> > + * NoPageset2.
> > + * 13: Make default_console_level available when debugging disabled, but limited
> > + * to 0 or 1.
> > + * 14: Rewrite to allow for dynamic registration of proc entries and smooth the
> > + * transition to kobjects in 2.6.
> > + * 15: Add setting resume2 parameter without rebooting (still need to run lilo
> > + * though!). Add support for generic string handling and switch resume2 to use
> > + * it.
> > + * 16: Switched to cryptoapi, adding entries for selecting encryptor and compressor.
>
> Pretty please, can we support just one version?

It is just one version supported. This is a log of the changes made.
Sorry for the ambiguity.

Regards,

Nigel
--
Evolution.
Enumerate the requirements.
Consider the interdependencies.
Calculate the probabilities.
Be amazed that people believe it happened.