Re: new IRQ scalability changes in 2.3.48

From: Jeff Garzik (jgarzik@mandrakesoft.mandrakesoft.com)
Date: Mon Mar 13 2000 - 11:17:12 EST


On Mon, 13 Mar 2000, Ingo Molnar wrote:
> Additionally, as a side-effect we get a 'free' debugging check for
> schedule():
>
> if (current->spinlock_depth)
> BUG();
>
> this temporary debugging aid catches illegal spinlock uses. (which does
> happen quite often)

FWIW running an SMP kernel on UP is an excellent way to catch spinlock
bugs... Thanks to Andrea for the tip too, it has been invaluable :)

        Jeff

-
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 : Wed Mar 15 2000 - 21:00:25 EST