Re: More general resource allocation scheme: a patch to look at

Martin Mares (mj@ucw.cz)
Sat, 19 Jun 1999 00:46:52 +0200


> That makes me uncomfortable when we are starting to eliminate the big lock.
> Better it has its own semaphore and we never claim resources on an IRQ.

On the other hand, we will still need to solve locking of various device
lists (e.g., PCI device list) during driver initialization/cleanup. Some
"big lock" is IMHO an appropriate solution since access to these data
structures is not time critical at all, so we should choose the simplest
solution available.

I'm not advocating for using the global kernel lock for this, but
a global configuration access lock should exist.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"If at first you don't succeed, redefine success."

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