SOURCES (LINUX_2_6): linux-2.6-suspend2.patch - up to http://www.s...

mguevara mguevara at pld-linux.org
Tue May 29 15:36:10 CEST 2007


Author: mguevara                     Date: Tue May 29 13:36:10 2007 GMT
Module: SOURCES                       Tag: LINUX_2_6
---- Log message:
- up to http://www.suspend2.net/downloads/all/suspend2-2.2.10-for-2.6.21.1.patch.bz2

---- Files affected:
SOURCES:
   linux-2.6-suspend2.patch (1.1.2.2.2.1 -> 1.1.2.2.2.2) 

---- Diffs:

================================================================
Index: SOURCES/linux-2.6-suspend2.patch
diff -u SOURCES/linux-2.6-suspend2.patch:1.1.2.2.2.1 SOURCES/linux-2.6-suspend2.patch:1.1.2.2.2.2
--- SOURCES/linux-2.6-suspend2.patch:1.1.2.2.2.1	Mon Apr 30 13:31:22 2007
+++ SOURCES/linux-2.6-suspend2.patch	Tue May 29 15:36:05 2007
@@ -31,1105 +31,6 @@
  	rhash_entries=	[KNL,NET]
  			Set number of hash buckets for route cache
  
-diff --git a/Documentation/power/Suspend2-Changelog.txt b/Documentation/power/Suspend2-Changelog.txt
-new file mode 100644
-index 0000000..a9b672a
---- /dev/null
-+++ b/Documentation/power/Suspend2-Changelog.txt
-@@ -0,0 +1,1093 @@
-+Suspend2 changelog.
-+
-+Still to do prior to 2.2.10...
-+
-+- Double check OOM killer disabled while suspending.
-+- RAID support.
-+- Fix building core as a module for people who currently get a hang
-+  while doing the atomic restore.
-+- Trying to reserve swap space before any allocated? (Kenneth's extent
-+  state eof while preparing the image).
-+- Look at testing lid state when wake from STR and powering off immediately.
-+- Fix checksumming.
-+
-+2.2.9.13 - 24 April 2007
-+
-+- RAID BUG() addressed.
-+- Fixed exports for new userui module (compilation issue).
-+- Fixed missed sysfs macro changes in checksum module.
-+- Fix missed suspend_extent_state_eof() modification.
-+- Modify 'initrd lacks echo' message to be more specific.
-+- Give more details status to help with diagnosing atomic copy hangs.
-+- In suspend_start_anything, if rechecking which allocator to use,
-+  be quiet only if we're not starting a cycle.
-+- Supress (renamed) 'lacks an echo' whenever the echo is done, not just
-+  if we succeed in initialising modules.
-+- Fix infinite loop in shrink_one_zone.
-+- Fix oops if highmem support enabled but no highmem pages are in pageset 1.
-+- Fix failure to add flag enabling storage manager usage.
-+- Fix missing cpus allowed reseting on finish_anything.
-+
-+2.2.9.12 - 18 April 2007
-+- Fix compressor initialisation failures when active allocator isn't yet set
-+  (dmsetup, eg).
-+- Early cpu hotplugging support, enabled the default while late hotplugging
-+  is being worked on upstream. This means that, by default, you won't get
-+  multithreaded I/O. /sys/power/suspend2/late_cpu_hotplug enables the
-+  late cpu hotplugging that was the default between 2.2.9.4 and .11.
-+- Separated userui support into its own module (CONFIG_SUSPEND2_USERUI).
-+- Correction to code iterating through block chains (test for ==, not >).
-+- Support for modules sharing a directory. Used in userui separation so
-+  that the location of userui entries didn't change.
-+- Yield instead of scheduling in netlink code. This results in actually
-+  seeing progress_granularity steps in the userui display on my computer;
-+  previously the netlink messages were being bunched up.
-+- Further improvements to memory freeing code, seeking to make it more
-+  reliable.
-+- Make sysfs entry flags more generic and use to indicate separately whether
-+  suspending or resuming.
-+- Dump block chains if we discover we're going to overwrite the start of
-+  pageset2 with the header.
-+- Don't do anything in compression initialisation routine if we're not
-+  starting a cycle.
-+- Correct bug that stopped us releasing fileallocator storage when a first
-+  cycle was aborted.
-+- Filewriter shouldn't complain if no target has been set when we're resuming.
-+
-+2.2.9.11 - 14 April 2007
-+- Remove RH copyrights - no Suspend2 work done in Redhat time to date.
-+- Update copyrights to 2007.
-+- Obfuscate my email address. I get enough spam already.
-+- HighMem + core as module makes things unreliable at the moment. Temporarily
-+  disable building the core as a module.
-+- Only do 2 tries at eating memory. New code frees all freeable memory in one
-+  try.
-+- Tidy compression code initialisation and cleanup.
-+- Correctly handle changed error codes from cryptoapi.
-+- Free slab as well as pagecache when freeing memory.
-+- Correct handling of io_mutex in worker_rw_loop error paths.
-+- Remove unused counting of nr of pages read directly.
-+- Remove unused x86 page protection code.
-+- Stop always displaying image preparation statistics.
-+- Remove unneeded zone index printk.
-+- Clear some resume related state flags when finished resuming - stops us
-+  powering down instead of aborting when user presses escape on attempt 2+.
-+- Simplify code path for not running powerdown step at resume time.
-+- Rename rw to writing in suspend_block_io.c
-+- Add BUG_ON() to catch image header overwriting pageset2 (would have
-+  simplified debugging the filewriter issue also fixed in this release).
-+- Reset current_stream to 0 on completion of writing a pageset so the
-+  above fix is not wrongly triggered.
-+- Some coding style fixes.
-+- Don't << devinfo.bmap_shift in filewriter considered whether we have
-+  enough storage.
-+- Modify order of setting suspend_fileops members from block writer to
-+  match order in swapallocator.
-+- Double checked that userui API version mismatches don't cause failures.
-+- Removed encryption support. I don't believe there were many users, and
-+  dm-crypt support can stil be utilised to encrypt the image without this.
-+  Of course the real reason was programming issues :)
-+- Added Rafael's kswap freezing fix.
-+- Corrected compilation issue with page fault handling code.
-+
-+2.2.9.10 - 21 March 2007
-+
-+- Further post 2.2.9.4 bug fixes.
-+
-+2.2.9.9 - 12 March 2007
-+
-+- Further post 2.2.9.4 bug fixes. I've now been able to do 30 cycles on the
-+  trot with multithreaded I/O and highmem.
-+
-+2.2.9.8 - 15 February 2007
-+
-+- Bug fixes.
-+- Give earlier error messages for issues with reading the message.
-+- Resume-time highmem bugfixing work.
-+- Initial version of addition of warnings for drivers that lack .resume
-+  methods. (dmesg | grep lacks)
-+- Cleanup now unused readahead exports from block i/o code.
-+
-+2.2.9.7 - 8 February 2007
-+
-+- Delete bogus addition to init/main.c, which broke initramfs support.
-+- Use a new #define to clean up calculation of nr of free lowmem pages.
-+- Correct usage of extra_pages_allocated in calculating ram needed to suspend.
-+- Move kunmapping of pages in compression support so we don't invoke the next
-+  plugin with the page still/already kmapped.
-+- Small cleanups in swapwriter (remove debugging printks).
-+- Don't print 'failed to send a message' from netlink code if userui exited
-+  already (pid = -1, formerly wasn't).
-+- Tidy up storage_needed calls; now exactly equal to main_storage_needed().
-+- Correct calculation of storage available in swapwriter.
-+- Remove debugging printk from shrink_one_zone.
-+
-+2.2.9.6 - 7 February 2007
-+
-+- Fix another compilation error.
-+
-+2.2.9.5 - 7 February 2007
-+
-+- Fixed a compilation error discovered quickly after the previous release.
-+
-+2.2.9.4 - 7 February 2007
-+
-+Ooh. Ahh. The biggest changes to Suspend2 in quite a while!
-+
-+- Full NUMA support in dyn_pageflags code.
-+- Removal of include/linux/suspend2.h.
-+- Fixes for support for no initrd and swsusp replacement.
-+- Make aborting suspend code uniform - add parameter to abort_suspend
-+  for result code to set and do it there.
-+- Reworked highmem support, including adding support for loading
-+  pages directly to final address where possible and using high pages
-+  for the pbes for high pages to be restored.
-+- Remove some debugging code from block_io.c
-+- Late cpu hotplugging, which lays the groundwork for...
-+- Multithreaded i/o! Rework I/O submission so pages can be stored out of
-+  order within a pageset and multiple threads (one per core) can be
-+  compressing/encrypting/submitting I/O simultaneously. Lots of changes
-+  in relation to this! No buffer in page transformers - it's all done
-+  in the block_io code now (same code as for writing the header).
-+
-+2.2.9.3 - 12 January 2007
-+
-+- Revert unnecessary macintosh freezer.h modification.
-+- Cleanup up commented lines in linux/suspend2.h.
-+- Revert mistaken 2.6.19 highmem changes (some needed but not all).
-+- Warn when fail to obtain pm semaphore (we abort).
-+- Export save/restore_processor_state for x86_64 only (already exported
-+  in x86 case).
-+- Add exports for tasklist_lock, dis/enable_nonboot_cpus if SUSPEND_SMP.
-+- Move name_to_dev_t export to be done for either swap or file writer.
-+- Synchronise whitespace in suspend_file.
-+
-+2.2.9.2 - 10 January 2007
-+
-+- Add some missing freezer.h #includes for mips.
-+- Backport _TIF_FREEZE changes.
-+- Synchronise process.c and freezer.h across versions.
-+- Address compilation warnings and errors in highmem support.
-+- Inline suspend2_suspend_builtin - it doesn't need to be built in to core.
-+- Correct CONFIG_SUSPEND2_CORE to CONFIG_SUSPEND2 in swsusp code.
-+- Better error message if fail to initialise modules.
-+- Improve/cleanup error handling in reading pageset1.
-+- Remove suspend_notify_userspace. No need to poke userui.
-+- Generic netlink connection closure with a wait for an ack from userspace.
-+- Never use zone->present_pages (populated_zone instead).
-+- Always use for_each_online_cpu().
-+- Highmem modifications for 2.6.19.
-+- Fix old block i/o commands.
-+- Correct EXPORT_SYMBOL omissions in 2.6.19 (thanks Andrey).
-+- Abort if fail to initialise compression algo at resume time but at suspend
-+  time just disable compression (and record it wasn't used for resume).
-+- Resume resume_dev_t to resume_file_dev_t and resume_swap_dev_t for kdb
-+  checking.
-+- Remove addition of thaw_kernel_threads and freeze_processes from swsusp
-+  code since they insist they don't need it. Please complain to Pavel or
-+  Rafael if/when you use swsusp and it freezes on you.
-+- Cleanup initialisation code in starting/finishing a cycle.
-+
-+2.2.9.1 - 4 January 2007
-+
-+- Support for resuming a different image instead of powering down. Set
-+  the alternate image using /sys/power/suspend2/poweroff_resume2. The
-+  normal restrictions with regard to mounted filesystems still apply!
-+- Cleanups.
-+- Separate compile-time configuration option for MD5 checksumming.
-+- Reinstated support for building Suspend2 as modules. Requires an
-+  initrd/ramfs if you want to be able to resume! This is back in partly
-+  because I don't expect Suspend2 to be seriously considered for merging
-+  any time soon. If that happens, it will almost certainly go in without
-+  module support, because of the large number of exported symbols needed.
-+  That said, I like module support for embedded systems, as well as for
-+  my own development use.
-+  As part of this, improved initialisation and cleanup routines.
-+- Start of support for clusters. Won't appear in the configuration
-+  options at the moment though.
-+- Improved CodingStyle compliance work (atomic_copy.c only so far).
-+- Eliminated all but one BUG().
-+- In checksumming, try to find and print tasks using a page if one needs
-+  resaving.
-+- Use one routine for marking task pages as either pageset1 or pageset2.
-+- Clear the flag saying a resume has been attempted if you press escape
-+  to cancel a resume.
-+- Use filp_open and vfs_getattr instead of vfs_stat when attempting to
-+  access files at resume time.
-+- Always do sysfs bounding of min/max values, so the maximum can be 0.
-+- Rearrange functions in some files to remove the need for forward decls.
-+- Ensure the cleanup message is sent to userspace helpers.
-+- Allow suspend to ram to be toggled from userui.
-+- Improve memory shrinking code to account for pages already freed when
-+  trying to free more pages in the same invocation.
-+- Use max_pfn + 1 instead of max_pfn to indicate start/end of an iteration.
-+
-+
-+2.2.9 - 24 November 2006
-+
-+- Remove bdev freezing - XFS users, proceed with caution!
-+  I'm told this shouldn't be needed any more as XFS threads are now behaving
-+  properly. Let's see.
-+- Remove dependancy on CONFIG_PM_DEBUG (All debugging code available always).
-+- Don't wait for a keypress if aborting because pageset1 waits too much.
-+  We're in the midst of an atomic copy, so can't interact with the user.
-+- Related to the previous one, add a new bit in the result code to say that
-+  the extra pages allowance was too small.
-+- Restore freezing of processes prior to atomic copy at resume time. When did
-+  it go missing? (Haven't looked).
-+- Add support for aborting if pages need resaving.
-+- Don't clear the encryption key and iv when loading plugin configs if they
-+  weren't saved in the image.
-+- Mark only readonly process pages as pageset2 by default. The old behaviour
-+  of marking all process pages as pageset2 (thereby letting you save a large
-+  image) can be reenabled by:
-+  procsetting full_pageset2 1
-+  or
-+  echo 1 > /sys/power/suspend2/full_pageset2
-+  I think that most people might want this to be the default, but I'll see.
-+  Not doing it is theoretically safer, at least until I identify the cause
-+  of the few cases that have appeared so far where pageset2 pages do change.
-+
-+2.2.8.5 - 14 November 2006
-+
-+- Rework LRU page un/relinking code.
-+- Add cryptoapi based hashing for verification that Pageset2 doesn't
-+  change while being written. Off by default. To enable:
-+  echo 1 > /sys/power/suspend2/checksum/enabled
-+  This calculates MD5 checksums for all pageset2 pages prior to starting
-+  to save the image and again prior to the atomic copy. If any pages have
-+  changed, they will be resaved in the atomic copy, and the original version
-+  discarded when the image is reloaded. If checksumming is enabled, the
-+  debug info will contain:
-+  - Checksum method is 'md5'.
-+    0 pages resaved in atomic copy.
-+  If the number is non-zero, please contact me - I will be interested to
-+  see if we can track down which pages change and why.
-+
-+2.2.8.4 - 8 November 2006
-+
-+- Update documentation some more.
-+- Completion of renaming 'writers' to 'allocators'.
-+
-+2.2.8.3 - 7 November 2006
-+
-+- Freezer.h instead of suspend.h/sched.h used for freezing functions.
-+- Select CRYPTO_ALGAPI when LZF chosen.
-+- Modifications to freezer.
-+- Rename swap and file 'writers' to 'allocators'.
-+- Add Redhat copyrights.
-+- Cleanup some unused declarations in compression.c.
-+- Call read_header_cleanup functions in __read_pageset1 error pages.
-+- Fix accounting for number of highmem pages needed.
-+- Use swsusp saveable() function.
-+- Use drop_pagecache() function for image_size_limit=-2.
-+- Make 'Initiating a software suspend cycle' KERN_INFO level.
-+- Remove buffer_alloc|free paranoia code.
-+- If open_bdev (swap allocator), don't treat device as a string and
-+  only display error when we're not going to in the caller.
-+- Use DIV_ROUND_UP in dyn_pageflags code.
-+- Use kzalloc instead of kmalloc in dyn_pageflags code.
-+- printk error if allocating memory for dynamic pageflags fails.
-+
-+2.2.8.2 - 12 October 2006
-+
-+- Update internals document and rename to suspend2-internals.txt.
-+- Remove device and suspend2 beeping code.
-+- Fix compilation issues with !CONFIG_NET.
-+- Lots of whitespace cleanups & removal of spurious comments.
-+- Remove some now unused members in extent struct and unused variables.
-+- Rename struct pagedir pageset_size member to size.
-+- Make unsigned longs used in image preparation into ints.
-+- Cleanups in unused/unnecessary return values and procedures with just one
-+  caller.
-+- Rework [de]registering modules.
-+- Use DIV_ROUND_UP macro.
-+- Revert power_off changes.
-+
-+2.2.8.1 - 5 October 2006
-+
-+- Try to make freezing more reliable under load by doing
-+  sys_sync after signalling userspace threads the first time,
-+  and start the timeout from the completion of the sys_sync.
-+- Handle the return value from sysfs_create_file.
-+- Reset compression stats on any action so they don't cause
-+  confusion in debugging.
-+- Poweroff improvements, I hope!
-+- Block i/o cleanups - 200 lines less, no problems seen so far!
-+- Fix a compilation warning when swsusp and suspend2 are both disabled.
-+- Work toward completion of Documentation/power/internals.
-+- Correct complain when an initrd lacks echo > do_resume (s/proc/sysfs)
-+
-+2.2.8 - 20 September 2006
-+
-+- Add Changelog as Documentation/power/Suspend2-Changelog.txt
-+- Don't replace swsusp completely when the do-it-by-default option is on.
-+
-+2.2.7.6 - 15 September 2006
-+
-+- Let swsusp work. The readding of BUG_ON(non suspend2 io) test
-+  wasn't targetted enough.
-+- Fix the swsusp replacement code to work with initramfses.
-+- Explicitly case the sizeof(struct suspend_header) as int. One case
-+  reported where the lack of a cast seems to have caused huge header
-+  size values.
-+- Make the suspend_file routine parse_signature static.
-+- Fix handling of swapwriter code so that the filewriter can still work
-+  with the new swsusp replacement functionality.
-+
-+2.2.7.5 - 5 September 2006
-+
-+- Documentation updates
-+- Add support for beeping at signficant lowlevel suspending points,
-+  to help in diagnosing resume failures.
-+  suspend_beep=1 on commandline to activate.
-+- Add support for beeping while invoking driver suspend and resume
-+  routines, to help in diagnosing resume failures.
-+  Boot with device_beep=1 to activate.
-+- Add a timer_resume fix that I'm hoping to see John Stultz submit
-+  upstream.
-+- Readd BUG_ON(non suspend2 io during suspend) in response to a
-+  recent corruption report.
-+- Remove deflate fix. We were the only ones needing it, and I don't
-+  recommend the use of glacially slow compression anyway.
-+- Remove PPC SOFTWARE_REPLACE_SLEEP configuration option.
-+- Better typing of pageflags variables.
-+- Use max_pfn rather than -1 to indicate the start/end of a scan.
-+- Remove LRU paranoia. No reports of it being hit.
-+- Consolidate Suspend2 specific kernel/power/*.h.
-+- Unlink LRU pages instead of avoiding vmscanning during suspend.
-+- Make Suspend2 a drop-in replacement for swsusp (compile time
-+  option). This doesn't stop swsusp from working. Instead it lets you
-+  * use resume= instead of resume2= (resume= takes precedence if set)
-+  * use noresume instead of noresume2
-+  * use echo disk > /sys/power/state to activate suspend2.
-+  By default suspend2 is configured to use lzf compression, if available,
-+  and no encryption.
-+  Overriding swsusp can by disabled via /sys/power/suspend2.
-+- Add further printks to help diagnose resume issues.
-+- Replace zone->spanned_pages with populated_zone() test.
-+- Some initial work on code to prove/ensure LRU pages aren't modified
-+  while being written. Relies on DEBUG_PAGEALLOC, so shouldn't interfere
-+  with normal use of this release, but it isn't working yet. x86 only.
-+- Some further cleanups from sysfs conversion.
-+
-+2.2.7.4 - 19 July 2006
-+
-+- Update Documentation to refer to /sys/power/suspend2.
-+- Make invocation of pm_console_suspend/resume optional
-+  and disabled by default.
-+- Add some printks for -EBUSY error messages.
-+- Rename proc.c to sysfs.c.
-+- Apply Rafael's suggestion of using the zone table info.
-+- Change .disabled to .enabled in the module structure.
-+- Change all references to proc to be sysfs.
-+- Add one second delay between powering down devices and
-+  doing the acpi state enter/machine_power_off/machine_halt.
-+- Add result code flag for drivers failing to suspend.
-+
-+2.2.7.3 - 11 July 2006
-+
-+- Add subdirectories for modules.
-+- Fix do_suspend and do_resume.
-+
-+2.2.7.2 - 11 July 2006
-+
-+- Console suspend and resume fix.
-+- Initial sysfs support. /proc support retained for the interim. Note that the
-+  sysfs layout is subject to change. I may make subdirectories for the modules
-+  (compressor etc) and put their entries in there.
-+- Modifed debugging info for compressor and encryptor so it's clearer when the
-+  name of the algorithm to be used hasn't been set.
-+- Try kernel_halt() if kernel_power_off() fails.
-+
-+2.2.7.1 - 6 July 2006
-+
-+- Remove Linus patches.
-+- Remove some debugging code from atomic_copy.c
-+- Change quotes and remove leading spaces in Kconfig
-+- Shift resetting accounting of module header storage usage.
-+- Add a missing reset of suspend2_running.
-+- Remove some extra whitespace that was used when splitting the patches.
-+- Enable some code in dyn_pageflags.c that was disabled and correct a typo
-+  in it.
-+
-+2.2.7 - 2 July 2006
-+
-+- Fix test debugging patch to run on powering down devices instead of
-+  when suspending them, and re-disable interrupts when we find something
-+  to complain about.
-+
-+2.2.6.3 - 2 July 2006
-+
-+- Add Bernard's 2.2.6.2 fix patch (thanks, Bernard!)
-+- Add test debugging patch to capture drivers that reenable irqs when they
-+  ought not.
-+
-+2.2.6.2 - 1 July 2006
-+
-+- Fix date on last release :)
-+- Fix freeze when eating memory that I forgot about before doing 2.2.6.1
-+- Small commenting fix.
-+- Quieten pdflush when thawed.
-+
-+2.2.6.1 - 1 July 2006
-+
-+- Cleanups: Whitespace/line wrapping, removal of asm-ppc/cpu_context.h,
-+  old/unnecessary declarations in dyn_pageflags.h, freezer.h. Atomic_copy
-+  prepare_pbe_list.
-+- Commenting: dyn_pageflags.h
-+- Rename: pageflags_space_needed -> suspend_*
-+- Add zones_in_use variable, to save recalculating how many zones are in use
-+  all the time (ta Rafael).
-+- !(CONFIG_VT && VT_CONSOLE) compile fix from LKML.
-+- Fix SYSTEM_BOOTING->RUNNING, from old version of Linus' console patch.
-+- Quoting of KConfig options. Addresses warnings that have appeared in
-+  post 2.6.17 git.
-+- Reverse early pm_ops->prepare and late ->finish invocations.
-+- Handle errors if bdev freezing kmalloc fails or suspend2_suspend fails.
-+- Correct error handling in suspend_main().
-+- Remove block_dump debugging in file_writer.
-+- Re-enable populate_block_list printk condition.
-+- Disable pm_prepare_console and pm_restore_console calls for now. Still
-+  seem to be problematic.
-+- Add MAINTAINERS file entry.
-+
-+2.2.6 - 23 June 2006
-+
-+- No problems reported so far with 2.2.5.3, so I'm
-+  renaming it to 2.2.6.
-+
-+2.2.5.3 - 22 June 2006
-+
-+- Update to 2.6.17
-+- Bring figuring out which pages to save closer to the
-+  algorithm used by swsusp.
-+- Move allocation of image header storage last in updating
-+  the image contents.
-+- Reset the header bytes used by each module when getting
-+  the request so S3 powerdown doesn't only work once.
-+- Tidy header allocation code.
-+- Tidy process refreezing when updating the image metadata.
-+- Add debugging code to check that LRU pages are not modified
-+  while the freezer is on.
-+- Do pm_state->prepare and finish right at the start and
-+  end of a cycle.
-+- Add Ben Collin's patch for a trace data section for ppc
-+  (needed for Linus' debugging patch, added in 2.2.5.2).
-+- Rework extra pageset1 pages allowance so that we have a
-+  hardcoded minimum and default (now 500) that is more
-+  easily modified (prepare_image.h).
-+- Take pm_sem when suspending and add PM_SEM failure bit
-+  to the result code.
-+- Use console suspend/resume code.
-+
-+2.2.5.2 - 16 June 2006
-+
-+- Remove x86_64 e820 code.
-+- Add #include to Linus' tracing code to fix compilation in
-+  Ubuntu backport.
-+- Add display of number of extra pageset 1 pages used.
-+- Modify the code which tracks our position in storage so that
-+  it sits at the start of a page and not the end. Simplifies
-+  finding where to start when resuming.
-+- Add pdflush post-resume fix from LKML.
-+
-+2.2.5.1 - 15 June 2006
-+
-+- Updated to 2.6.17-rc6.
-+- Fixed filewriter issue when header is not at the lowest block
-+  number in the file.
-+- Moved refrigerator closer to the vanilla implementation.
-+- Removed per-workqueue freezing.
-+- Carefully audited header space usage and added debugging
-+  support.
-+- Fixed compilation issues with sharing code with swsusp.
-+- Removed SUSPEND_TEST_BIO flag.
-+- Added paragraph to suspend2.txt. Pavel forked, not us :)
-+- Removed arm code. No recent updates.
-+- Added (temporary) e820 amd64 code.
-+- Fix BITMAP_FOR_EACH_SET to check for -1 instead of max_pfn.
-+- Add ifdefs around some highmem code.
-+- Fix some line length issues.
-+- Rename attempt_to_parse_resume_device to suspend_...
-+- Remove DEBUG_PAGEALLOC support.
-+- Prepare to power off with POWER_OFF, not SUSPEND_DISK.
-+- Max extra pages allowance should be INT_MAX, not 32768.
-+
-+2.2.5 - 21 April 2006
-+
-+- Cleanups from ongoing preparation of the git tree.
-+- Correction to x86_64 page_is_ram function.
-+- New FREEZING_COMPLETE status variable, used in debugging the
-+  new shrink_all_memory implementation.
-+- Improvements to calculations of header space required. More
-+  work to be done.
-+- Fix compilation with !CONFIG_NET
-+- Some new image calculation paranoia. Shouldn't be needed, but
-+  you can't always know everything that changes from one kernel
-+  version to the next.
-+- Use Con Kolivas and Rafael Wysocki's shrink_all_memory rework,
-+  with a couple of bug fixes of my own. In combination with this,
-+  simplify the memory freeing in suspend2 to use a single pass.
-+- Fix suspend_running not being set at resume time, which caused
-+  spontaneous reboots when the temporary pagedir allocator then
-+  got unsafe pages.
-+- Remove setting swap info struct data during resume.
-+- Update hooks in the pagealloc routines that prevented memory
-+  freeing while we're writing the image.
-+
-+2.2.4.1 - 13 April 2006
-+
-+- Removed use of max_pfn to make life simpler on ARM.
-+- Fix line length in atomic_copy.c.
-+- Rename suspend_recalculate_stats to suspend_recalculate_image_contents
-+- Remove checksumming code.
-+- Apply Jens Gustedt's checks for which filesystems are mounted
-+  on resume.
-+- Fix encryption where PAGE_SIZE % key length != 0.
-+- Move swsusp Makefile entries below Suspend2 again - it doesn't play
-+  nicely with Suspend2, and so needs to have it's boot time routines
-+  run later. noresume2 will also not work with noresume being compiled
-+  in first.
-+- Rework the allocation of extra pages to use PageNosave instead of
-+  PageAllocd and don't completely clear Pageset1Copy on every iteration
-+  through count_data_pages. 
-+- Remove the ConflictingPages bitmap.
-+- Remove a bogus comment that said we remember conflicting pages and
-+  free them.
-+- Remove DEBUG_PAGEALLOC support.
-+- Add extra message for when powering off.
-+- Rework and cleanup code which determines which pages to save.
-+- Correction to ram_to_suspend function - it should halve the
-+  amount calculated and take account of extra pagedir pages that have
-+  been allocated.
-+- Correct handling of proc entries that use longs. This is particularly
-+  relevant to the image_size_limit. It wasn't previously correctly set
-+  to -1 or -2. (This would have broken the nocaches functionality).
-+- Move suspend_default_console_level to ui.c.
-+- Remove unused suspend_bio_task in block_io.c.
-+- Use progress granularity that was saved in the image header, even
-+  if the userui helper program stored in the image header won't be
-+  used because it was overridden by the initrd/ramfs script.
-+- Don't update the load average while the freezer is on. This fixes
-+  an unintended sideeffect wherein mail services will refuse to
-+  operate post-resume because the load average had been pushed up
-+  by Suspend's intensive CPU use.
-+
-+2.2.4 - 2 April 2006
-+
-+- Fixed what are hopefully the last outstanding issues with
-+  the switchover to using the swsusp lowlevel code:
-+  * Corrected compilation issues with the difference
-+    combinations of swsusp and Suspend2.
<<Diff was trimmed, longer than 597 lines>>

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/linux-2.6-suspend2.patch?r1=1.1.2.2.2.1&r2=1.1.2.2.2.2&f=u



More information about the pld-cvs-commit mailing list