Re: From: Carlos Mart??n <carlos@cmartin.tk>
From: Christoph Hellwig <hch@infradead.org>
Date: 2006-02-22 14:36:04
On Tue, Feb 21, 2006 at 10:03:58PM +0100, Carlos Mart?n wrote:
quoted
The important bit is that you need the pointers with the above module spit, because you can't call usb- or pci-specific routines from acx-common.koYes, I realise that (unless you export them, but I don't think we want that).
even that wouldn't work with current module because the usb and pci modules call into the common code and thus we'd have recursive module depency.
This approach is probably better even if the driver is unified. Pointer dereferences are cheaper than branches/jumping, aren't they?
It shouldn't matter these days as cpus have nice branch prediction. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642