1. 23 10月, 2009 1 次提交
    • X
      isdn: fix possible circular locking dependency · 2bd9af04
      Xiaotian Feng 提交于
      There's a circular locking dependency:
      
      ---> isdn_net_get_locked_lp
          --->lock &nd->queue_lock
          --->lock &nd->queue->xmit_lock
          .....................
          ---->unlock &nd->queue_lock
      
      ---> isdn_net_writebuf_skb (called with &nd->queue->xmit_lock locked)
          ---->isdn_net_inc_frame_cnt
               ---->isdn_net_device_busy
                    ----> lock &nd->queue_lock
      
      This will trigger lockdep warnings:
      
       =======================================================
       [ INFO: possible circular locking dependency detected ]
       2.6.32-rc4-testing #7
       -------------------------------------------------------
       ipppd/28379 is trying to acquire lock:
       (&netdev->queue_lock){......}, at: [<e62ad0fd>] isdn_net_device_busy+0x2c/0x74 [isdn]
      
       but task is already holding lock:
       (&netdev->local->xmit_lock){+.....}, at: [<e62aefc2>] isdn_net_write_super+0x3f/0x6e [isdn]
      
       which lock already depends on the new lock.
       .......
      
       We don't need to lock nd->queue->xmit_lock to protect single
      isdn_net_lp_busy(). This can fix above lockdep warnings.
      Reported-and-tested-by: NTilman Schmidt <tilman@imap.cc>
      Signed-off-by: NXiaotian Feng <xtfeng@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2bd9af04
  2. 04 12月, 2008 1 次提交
  3. 14 11月, 2008 1 次提交
  4. 28 4月, 2008 1 次提交
  5. 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