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

David Hinds (dhinds@lahmed.Stanford.EDU)
Fri, 18 Jun 1999 18:40:51 -0700


On Fri, Jun 18, 1999 at 09:03:09PM -0400, Jeff Garzik wrote:
>
> How do you know this information is correct? What if a driver goes
> gonzo and requests 20 regions before it finds one it likes. This kind
> of info is best suited to some kind of log or history.

If a driver is going to allocate random resources, what could we
possibly do about it? Next to the infinite number of more painful
ways that a rogue driver could mess things up, why should we even be
concerned about this? If we can't count on drivers to know what
resources their devices use, what should we count on, instead?

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

I don't know what you mean by "arbitrate" here. Can you give an
example where this would be useful? When would we ever want two
drivers to share the same device address space?

-- Dave

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