1. 02 10月, 2006 1 次提交
    • S
      [PATCH] namespaces: utsname: use init_utsname when appropriate · 96b644bd
      Serge E. Hallyn 提交于
      In some places, particularly drivers and __init code, the init utsns is the
      appropriate one to use.  This patch replaces those with a the init_utsname
      helper.
      
      Changes: Removed several uses of init_utsname().  Hope I picked all the
      	right ones in net/ipv4/ipconfig.c.  These are now changed to
      	utsname() (the per-process namespace utsname) in the previous
      	patch (2/7)
      
      [akpm@osdl.org: CIFS fix]
      Signed-off-by: NSerge E. Hallyn <serue@us.ibm.com>
      Cc: Kirill Korotaev <dev@openvz.org>
      Cc: "Eric W. Biederman" <ebiederm@xmission.com>
      Cc: Herbert Poetzl <herbert@13thfloor.at>
      Cc: Andrey Savochkin <saw@sw.ru>
      Cc: Serge Hallyn <serue@us.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      96b644bd
  2. 26 9月, 2006 10 次提交
  3. 11 7月, 2006 1 次提交
  4. 26 6月, 2006 1 次提交
  5. 23 6月, 2006 3 次提交
  6. 20 4月, 2006 1 次提交
  7. 23 3月, 2006 4 次提交
  8. 16 2月, 2006 1 次提交
  9. 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
  10. 09 11月, 2005 3 次提交
  11. 07 11月, 2005 1 次提交
  12. 31 10月, 2005 6 次提交