From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S261263AbVGLIhn (ORCPT ); Tue, 12 Jul 2005 04:37:43 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S261259AbVGLIfH (ORCPT ); Tue, 12 Jul 2005 04:35:07 -0400 Received: from [203.171.93.254] ([203.171.93.254]:34251 "EHLO cunningham.myip.net.au") by vger.kernel.org with ESMTP id S261275AbVGLIdL (ORCPT ); Tue, 12 Jul 2005 04:33:11 -0400 Subject: Re: [PATCH] [40/48] Suspend2 2.1.9.8 for 2.6.12: 616-prepare_image.patch From: Nigel Cunningham Reply-To: ncunningham@cyclades.com To: Pavel Machek Cc: Nigel Cunningham , Linux Kernel Mailing List In-Reply-To: <20050710181343.GF10904@elf.ucw.cz> References: <11206164393426@foobar.com> <11206164431308@foobar.com> <20050710181343.GF10904@elf.ucw.cz> Content-Type: text/plain Organization: Cycades Message-Id: <1121157293.13869.124.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6-1mdk Date: Tue, 12 Jul 2005 18:34:53 +1000 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org 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 > > + * > > + * 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.