1. 24 7月, 2008 1 次提交
  2. 20 7月, 2008 3 次提交
  3. 27 6月, 2008 1 次提交
  4. 26 4月, 2008 1 次提交
  5. 25 4月, 2008 5 次提交
  6. 26 1月, 2008 11 次提交
  7. 12 12月, 2007 1 次提交
  8. 22 10月, 2007 1 次提交
  9. 11 10月, 2007 1 次提交
  10. 10 10月, 2007 9 次提交
  11. 19 7月, 2007 2 次提交
  12. 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
  13. 21 2月, 2007 3 次提交
    • M
      V4L/DVB (5249): Fix compiler warning in vivi.c · 4acf2670
      Marcel Siegert 提交于
      The result of copy_to_user was not used, so the compiler complained
      now a warning will be issued if copy_to_user fails.
      Signed-off-by: NMarcel Siegert <mws@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      4acf2670
    • M
      V4L/DVB (5147): Make vivi driver to use vmalloced pointers · b50e7fe9
      Mauro Carvalho Chehab 提交于
      Before this patch, vivi were simulating a scatter gather DMA transfer.
      While this is academic, showing how stuff really works on a real PCI 
      device, this means a non-optimized code. 
      There are only two memory models that vivi implements:
      	1) kernel alloced memory. This is also used by read() method.
      	   On this case, a vmalloc32 buffer is allocated at kernel;
      	2) userspace allocated memory. This is used by most userspace apps.
      	   video-buf will store this pointer.
      	   a simple copy_to_user is enough to transfer data.
      The third memory model scenario supported by video-buf is overlay mode. 
      This model is not implemented on vivi and unlikely to be implemented on 
      newer drivers, since now, most userspace apps do some post-processing 
      (like de-interlacing).
      After this patch, some cleanups may be done at video-buf.c to avoid 
      allocating pages, when the driver doesn't need a PCI buffer. This is the 
      case of vivi and usb drivers.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      b50e7fe9
    • M
      V4L/DVB (5074): Some fixes at stream waitqueue on vivi · 0b600512
      Mauro Carvalho Chehab 提交于
      There are several potential troubles on vivi waitqueue code:
      - Watchdog timer should be reset at every received frame;
      - Watchdog timer should be reset at the beginning of vivi_thread();
      - Checks for errors when creating a newer thread with kernel_thread();
      - Wake up vivi_thread() after creating it.
      Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
      0b600512