1. 19 10月, 2010 1 次提交
    • A
      dvb-core: kill the big kernel lock · 72024f1e
      Arnd Bergmann 提交于
      The dvb core only uses the big kernel lock in the open
      and ioctl functions, which means it can be replaced with
      a dvb specific mutex. Fortunately, all the ioctl functions
      go through dvb_usercopy, so we can move the serialization
      in there.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
      Cc: linux-media@vger.kernel.org
      72024f1e
  2. 03 8月, 2010 1 次提交
    • J
      V4L/DVB: DVB: fix dvr node refcounting · 1c488ea9
      Jiri Slaby 提交于
      In dvb_dvr_release, there is a test dvbdev->users==-1, but users are
      never negative. This error results in hung tasks:
        task                        PC stack   pid father
      bash          D ffffffffa000c948     0  3264   3170 0x00000000
       ffff88003aec5ce8 0000000000000086 0000000000011f80 0000000000011f80
       ffff88003aec5fd8 ffff88003aec5fd8 ffff88003b848670 0000000000011f80
       ffff88003aec5fd8 0000000000011f80 ffff88003e02a030 ffff88003b848670
      Call Trace:
       [<ffffffff813dd4a5>] dvb_dmxdev_release+0xc5/0x130
       [<ffffffff8107b750>] ? autoremove_wake_function+0x0/0x40
       [<ffffffffa00013a2>] dvb_usb_adapter_dvb_exit+0x42/0x70 [dvb_usb]
       [<ffffffffa0000525>] dvb_usb_exit+0x55/0xd0 [dvb_usb]
       [<ffffffffa00005ee>] dvb_usb_device_exit+0x4e/0x70 [dvb_usb]
       [<ffffffffa000a065>] af9015_usb_device_exit+0x55/0x60 [dvb_usb_af9015]
       [<ffffffff813a3f05>] usb_unbind_interface+0x55/0x1a0
       [<ffffffff81316000>] __device_release_driver+0x70/0xe0
      ...
      
      So check against 1 there instead.
      
      BTW why's the TODO there? Adding TODOs to the code without
      descriptions is like adding nothing.
      Signed-off-by: NJiri Slaby <jslaby@suse.cz>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      1c488ea9
  3. 17 5月, 2010 1 次提交
  4. 08 2月, 2010 1 次提交
  5. 05 10月, 2009 1 次提交
  6. 02 10月, 2009 1 次提交
  7. 12 9月, 2009 1 次提交
    • A
      V4L/DVB (12275): Add two new ioctls: DMX_ADD_PID and DMX_REMOVE_PID · 1cb662a3
      Andreas Oberritter 提交于
      DMX_ADD_PID allows to add multiple PIDs to a transport stream filter
      previously set up with DMX_SET_PES_FILTER and output=DMX_OUT_TSDEMUX_TAP.
      
      DMX_REMOVE_PID is used to drop a PID from a filter.
      
      These ioctls are to be used by readers of /dev/dvb/adapterX/demuxY. They
      may be called at any time, i.e. before or after the first filter on the
      shared file descriptor was started.
      
      They make it possible to record multiple services without the need to de-
      or re-multiplex TS packets.
      
      To accomplish this, dmxdev_filter->feed.ts has been converted to a list
      of struct dmxdev_feeds, each containing a PID value and a pointer to a
      struct dmx_ts_feed.
      Signed-off-by: NAndreas Oberritter <obi@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      1cb662a3
  8. 17 6月, 2009 1 次提交
  9. 30 3月, 2009 1 次提交
  10. 17 2月, 2009 1 次提交
    • M
      V4L/DVB (10572): Revert commit dda06a8e · 28100165
      Mauro Carvalho Chehab 提交于
      On Mon, 02 Feb 2009, Hartmut wrote:
      
      This change set is wrong. The affected functions cannot be called from
      an interrupt context, because they may process large buffers. In this
      case, interrupts are disabled for a long time. Functions, like
      dvb_dmx_swfilter_packets(), could be called only from a tasklet.
      
      This change set does hide some strong design bugs in dm1105.c and
      au0828-dvb.c.
      
      Please revert this change set and do fix the bugs in dm1105.c and
      au0828-dvb.c (and other files).
      
      On Sun, 15 Feb 2009, Oliver Endriss wrote:
      
      This changeset _must_ be reverted! It breaks all kernels since 2.6.27
      for applications which use DVB and require a low interrupt latency.
      
      It is a very bad idea to call the demuxer to process data buffers with
      interrupts disabled!
      
      On Mon, 16 Feb 2009, Trent Piepho wrote:
      
      I agree, this is bad.  The demuxer is far too much work to be done with
      IRQs off.  IMHO, even doing it under a spin-lock is excessive.  It should
      be a mutex.  Drivers should use a work-queue to feed the demuxer.
      
      Thank you for testing this changeset and discovering the issues on it.
      
      Cc: Trent Piepho <xyzzy@speakeasy.org>
      Cc: Hartmut <e9hack@googlemail.com>
      Cc: Oliver Endriss <o.endriss@gmx.de>
      Cc: Andreas Oberritter <obi@linuxtv.org>
      Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
      28100165
  11. 05 10月, 2008 1 次提交
  12. 04 9月, 2008 1 次提交
  13. 20 7月, 2008 1 次提交
  14. 25 4月, 2008 5 次提交
  15. 10 10月, 2007 1 次提交
  16. 19 7月, 2007 1 次提交
  17. 28 4月, 2007 1 次提交
  18. 27 3月, 2007 1 次提交
  19. 15 2月, 2007 1 次提交
    • T
      [PATCH] remove many unneeded #includes of sched.h · cd354f1a
      Tim Schmielau 提交于
      After Al Viro (finally) succeeded in removing the sched.h #include in module.h
      recently, it makes sense again to remove other superfluous sched.h includes.
      There are quite a lot of files which include it but don't actually need
      anything defined in there.  Presumably these includes were once needed for
      macros that used to live in sched.h, but moved to other header files in the
      course of cleaning it up.
      
      To ease the pain, this time I did not fiddle with any header files and only
      removed #includes from .c-files, which tend to cause less trouble.
      
      Compile tested against 2.6.20-rc2 and 2.6.20-rc2-mm2 (with offsets) on alpha,
      arm, i386, ia64, mips, powerpc, and x86_64 with allnoconfig, defconfig,
      allmodconfig, and allyesconfig as well as a few randconfigs on x86_64 and all
      configs in arch/arm/configs on arm.  I also checked that no new warnings were
      introduced by the patch (actually, some warnings are removed that were emitted
      by unnecessarily included header files).
      Signed-off-by: NTim Schmielau <tim@physik3.uni-rostock.de>
      Acked-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
      cd354f1a
  20. 25 6月, 2006 1 次提交
  21. 02 4月, 2006 1 次提交
  22. 22 3月, 2006 4 次提交
  23. 27 2月, 2006 1 次提交
  24. 07 2月, 2006 1 次提交
  25. 13 12月, 2005 1 次提交
  26. 10 9月, 2005 2 次提交
  27. 08 7月, 2005 2 次提交
  28. 17 5月, 2005 1 次提交
  29. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4