Messages in this thread | | | Date | Fri, 16 May 2008 01:05:26 +0300 | From | Muli Ben-Yehuda <> | Subject | Re: [PATCH 0/2] x86: per-device dma_mapping_ops |
| |
On Fri, May 16, 2008 at 12:53:15AM +0300, Muli Ben-Yehuda wrote: > On Thu, May 15, 2008 at 11:45:10PM +0200, Andi Kleen wrote: > > > Even rare cases need to be handled. > > Sure, but I'd rather we handle the common case first.
... which is not to say of course we can't do both, dev_archdata could have a list of struct dma_mapping_ops instead of (or in addition to) a struct dma_mapping_ops pointer. If space was at a premium we could even multiplex both on the same pointer by using one of the low bits to select between them.
Cheers, Muli
| |