spin_lock_irq vs. spin_lock_irqsave.

From: Daniel Kobras (daniel.kobras@student.uni-tuebingen.de)
Date: Sat Jun 17 2000 - 10:34:42 EDT

  • Next message: Siddharth Kashyap: "CD drive probing"

    Hi!

    I'd like to know the terms under which saving and restoring processor
    flags can be omitted? In other words, how can I determine if I have to use
    spin_lock_irqsave or if spin_lock_irq is sufficient? I had a look into
    Documentation/spinlocks.txt, but unfortunately the _irq/_bh variants
    aren't even mentioned.

    Thankful for any hint,
    Daniel.

    -- 
    	GNU/Linux Audio Mechanics - http://www.glame.de
    	      GPG Key ID 89BF7E2B - http://www.keyserver.net
    

    - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



    This archive was generated by hypermail 2b29 : Sat Jun 17 2000 - 10:36:41 EDT