spin_lock_irq vs. spin_lock_irqsave.

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


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,

	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 : Fri Jun 23 2000 - 21:00:14 EST