Re: [announce] "kill the Big Kernel Lock (BKL)" tree

From: Andi Kleen
Date: Wed May 14 2008 - 18:15:19 EST


Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> writes:

> Out of amusement I took the watchdog drivers and started looking for
> large cans of worms in the BKL drop arena.
>
> Here is a fun one for general discussion - right now driver probe
> functions request resources. We have no ordering on the requests so we
> have deadlocks if two drivers do resource requests for conflicting
> resources in reverse order.

What deadlocks? resource allocation normally doesn't block. So if there's
a ordering issue one of them will fail and should bail out.

That said if you have conflicting resources then failing is the correct
behavior anyways.

-Andi
--
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/