1. 26 9月, 2006 7 次提交
  2. 11 7月, 2006 1 次提交
  3. 26 6月, 2006 1 次提交
  4. 23 6月, 2006 3 次提交
  5. 20 4月, 2006 1 次提交
  6. 23 3月, 2006 4 次提交
  7. 16 2月, 2006 1 次提交
  8. 07 1月, 2006 3 次提交
    • R
      [PATCH] swsusp: fix enough_free_mem · e5e2fa78
      Rafael J. Wysocki 提交于
      This patch fixes a problem with the function enough_free_mem() used by
      swsusp to verify if there is a sufficient number of memory pages available
      to it to create and save the suspend image.
      
      Namely, enough_free_mem() uses nr_free_pages() to obtain the number of free
      memory pages, which is incorrect, because this function returns the total
      number of free pages, including free highmem pages, and the highmem pages
      cannot be used by swsusp for storing the image data.
      
      The patch makes enough_free_mem() avoid counting the free highmem
      pages as available to swsusp.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      e5e2fa78
    • R
      [PATCH] swsusp: improve freeing of memory · 72a97e08
      Rafael J. Wysocki 提交于
      This patch makes swsusp free only as much memory as needed to complete the
      suspend and not as much as possible.   In the most of cases this should speed
      up the suspend and make the system much more responsive after resume,
      especially if a GUI (eg.  X Windows) is used.
      
      If needed, the old behavior (ie to free as much memory as possible during
      suspend) can be restored by unsetting FAST_FREE in power.h
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NPavel Machek <pavel@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      72a97e08
    • R
      [PATCH] swsusp: introduce the swap map structure · 7088a5c0
      Rafael J. Wysocki 提交于
      This patch introduces the swap map structure that can be used by swsusp for
      keeping tracks of data pages written to the swap.   The structure itself is
      described in a comment within the patch.
      
      The overall idea is to reduce the amount of metadata written to the swap and
      to write and read the image pages sequentially, in a file-alike way.  This
      makes the swap-handling part of swsusp fairly independent of its
      snapshot-handling part and will hopefully allow us to completely separate
      these two parts in the future.
      
      This patch is needed to remove the suspend image size limit imposed by the
      limited size of the swsusp_info structure, which is essential for x86-64
      systems with more than 512 MB of RAM.
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NPavel Machek <pavel@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      7088a5c0
  9. 09 11月, 2005 3 次提交
  10. 07 11月, 2005 1 次提交
  11. 31 10月, 2005 6 次提交