Re: Inter-device-driver communication?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Oct 02 2000 - 16:22:15 EST


> pointers mostly point to buffers of about 1-8KB. Since the kernel is
> monolothic, I don't expect there to be a need to translate virtual addresses.

Correct

> As for how often, these calls are made probably as much as 50 times a second,
> but irregularly. One of the drivers involved is attached to the VM, so it will
> need to pass data along as often as the VM is called.

Just declare some kind of shared structure or pointer and EXPORT_SYMBOL them
to the other driver. You can write wrapper functions if you want to be neat
but thats your choice

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Oct 07 2000 - 21:00:10 EST