David Woodhouse wrote: > > Can we now remove sleep_on() completely, or at least apply something like > the following: > That won't work. 1) lock_depth is only updated on SMP. 2) the global cli spinlock is the second valid lock for sleep_on() users. And sleep_on a very good litmus test for SMP awareness: grep for sleep_on, and if you find it it's a good sign that the driver is not SMP aware ;) -- Manfred
- Re: [Announce] BKL shifting into drivers and filesystems -... Manfred Spraul
- Re: [Announce] BKL shifting into drivers and filesyst... David Woodhouse