1. 18 12月, 2007 1 次提交
  2. 08 11月, 2007 1 次提交
  3. 16 10月, 2007 2 次提交
  4. 10 10月, 2007 1 次提交
  5. 24 7月, 2007 1 次提交
  6. 18 7月, 2007 1 次提交
    • R
      Freezer: make kernel threads nonfreezable by default · 83144186
      Rafael J. Wysocki 提交于
      Currently, the freezer treats all tasks as freezable, except for the kernel
      threads that explicitly set the PF_NOFREEZE flag for themselves.  This
      approach is problematic, since it requires every kernel thread to either
      set PF_NOFREEZE explicitly, or call try_to_freeze(), even if it doesn't
      care for the freezing of tasks at all.
      
      It seems better to only require the kernel threads that want to or need to
      be frozen to use some freezer-related code and to remove any
      freezer-related code from the other (nonfreezable) kernel threads, which is
      done in this patch.
      
      The patch causes all kernel threads to be nonfreezable by default (ie.  to
      have PF_NOFREEZE set by default) and introduces the set_freezable()
      function that should be called by the freezable kernel threads in order to
      unset PF_NOFREEZE.  It also makes all of the currently freezable kernel
      threads call set_freezable(), so it shouldn't cause any (intentional)
      change of behaviour to appear.  Additionally, it updates documentation to
      describe the freezing of tasks more accurately.
      
      [akpm@linux-foundation.org: build fixes]
      Signed-off-by: NRafael J. Wysocki <rjw@sisk.pl>
      Acked-by: NNigel Cunningham <nigel@nigel.suspend2.net>
      Cc: Pavel Machek <pavel@ucw.cz>
      Cc: Oleg Nesterov <oleg@tv-sign.ru>
      Cc: Gautham R Shenoy <ego@in.ibm.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      83144186
  7. 17 7月, 2007 1 次提交
  8. 12 7月, 2007 1 次提交
    • T
      sysfs: kill unnecessary attribute->owner · 7b595756
      Tejun Heo 提交于
      sysfs is now completely out of driver/module lifetime game.  After
      deletion, a sysfs node doesn't access anything outside sysfs proper,
      so there's no reason to hold onto the attribute owners.  Note that
      often the wrong modules were accounted for as owners leading to
      accessing removed modules.
      
      This patch kills now unnecessary attribute->owner.  Note that with
      this change, userland holding a sysfs node does not prevent the
      backing module from being unloaded.
      
      For more info regarding lifetime rule cleanup, please read the
      following message.
      
        http://article.gmane.org/gmane.linux.kernel/510293
      
      (tweaked by Greg to not delete the field just yet, to make it easier to
      merge things properly.)
      Signed-off-by: NTejun Heo <htejun@gmail.com>
      Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
      7b595756
  9. 26 4月, 2007 1 次提交
    • A
      packet: fix error handling · cbc31a47
      Andrew Morton 提交于
      The packet driver is assuming (reasonably) that the (undocumented)
      request.errors is an errno.  But it is in fact some mysterious bitfield.  When
      things go wrong we return weird positive numbers to the VFS as pointers and it
      goes oops.
      
      Thanks to William Heimbigner for reporting and diagnosis.
      
      (It doesn't oops, but this driver still doesn't work for William)
      
      Cc: William Heimbigner <icxcnika@mar.tar.cc>
      Cc: Peter Osterlund <petero2@telia.com>
      Cc: Jens Axboe <jens.axboe@oracle.com>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cbc31a47
  10. 21 2月, 2007 1 次提交
  11. 13 2月, 2007 1 次提交
  12. 12 2月, 2007 1 次提交
  13. 06 1月, 2007 1 次提交
  14. 09 12月, 2006 3 次提交
  15. 08 12月, 2006 1 次提交
  16. 04 10月, 2006 2 次提交
  17. 01 10月, 2006 3 次提交
  18. 01 8月, 2006 1 次提交
  19. 01 7月, 2006 1 次提交
  20. 27 6月, 2006 1 次提交
  21. 27 3月, 2006 1 次提交
  22. 23 3月, 2006 1 次提交
  23. 19 3月, 2006 1 次提交
  24. 21 2月, 2006 5 次提交
  25. 15 2月, 2006 4 次提交
  26. 06 2月, 2006 2 次提交