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

From: Linus Torvalds
Date: Wed May 14 2008 - 18:13:01 EST




On Wed, 14 May 2008, Alan Cox wrote:
>
> 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.

resource requests aren't blocking, so it wouldn't actually be a deadlock.
It would just be a "both failed, try again".

That said, two drivers shouldn't be probing the same hardware at the same
time regardless, so I can't imagine that it's much of a problem in real
life.

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