lkml.org 
[lkml]   [2008]   [May]   [14]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [announce] "kill the Big Kernel Lock (BKL)" tree
FromAndi Kleen <>
DateThu, 15 May 2008 00:15:02 +0200
Alan Cox <alan@lxorguk.ukuu.org.uk> 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


\
 
 \ /
  Last update: 2008-05-15 00:17    [from the cache]
©2003-2008