1. 01 8月, 2010 1 次提交
    • J
      net/rose: Use GFP_ATOMIC · e2e0c7c9
      Julia Lawall 提交于
      The other calls to kmalloc in the same function use GFP_ATOMIC, and indeed
      two locks are held within the body of the function.
      
      The semantic match that finds this problem is as follows:
      (http://coccinelle.lip6.fr/)
      
      // <smpl>
      @@ identifier f; @@
      
      *f(...,GFP_ATOMIC,...)
      ... when != spin_unlock(...)
          when != read_unlock(...)
          when != write_unlock(...)
          when != read_unlock_irq(...)
          when != write_unlock_irq(...)
          when != read_unlock_irqrestore(...)
          when != write_unlock_irqrestore(...)
          when != spin_unlock_irq(...)
          when != spin_unlock_irqrestore(...)
      *f(...,GFP_KERNEL,...)
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      e2e0c7c9
  2. 31 7月, 2010 15 次提交
  3. 30 7月, 2010 13 次提交
  4. 29 7月, 2010 8 次提交
  5. 28 7月, 2010 3 次提交