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

Martin Mares (mj@ucw.cz)
Sat, 19 Jun 1999 11:08:44 +0200


Hello,

> BTW, if there is a way to arbitrate sharing of regions that would be
> great. An optional usage count maybe?

The resource regions should be IMNSHO unshareable.

If you want to share some hardware between several drivers, the right
way is to build a meta-driver (like we do for parallel ports) which
will sub-allocate the device and arbitrate accesses (which must be
done in a device-dependent way).

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
"Light-year? One-third less calories than a regular year."

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