>additionally: if the data structure is never accessed from IRQ handlers
>then it's fast and safe to use a semaphore instead of a spinlock.
You can access it also from irq handlers but you are allowed to use only
down_trylock(). (a similar things happens in show_buffers() in buffer.c
but with spinlocks)
Andrea
-
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/