Re: [PATCH] tifm: avoid inconsistent lock state

From: Alessio Igor Bogani
Date: Sat Apr 11 2009 - 11:39:39 EST


Dear Sir Morton,

2009/4/11 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>:
[...]
> tifm_7xx1_isr() can legitimately use spin_lock() on that lock, because
> it's running in hard IRQ context and "knows" that tifm_7xx1_isr()
> cannot be reentered on this CPU while it is running.
[...]

Thank you for reply and explanation.

Ciao,
Alessio
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/