Re: [PATCH 0/2] x86: per-device dma_mapping_ops

From: FUJITA Tomonori
Date: Thu May 15 2008 - 23:54:28 EST


On Thu, 15 May 2008 12:48:04 +0200
Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:

>
> > I thought that KVM people want to do it per device (in the first
> > case). So with my patchse, they can replace the dma_ops pointer in
> > dev_archdata with what they want.
>
> But where would they save the original pointer?

Yeah, we need an extra mechanism for that but it's same for the
system-wide dma_ops pointer (i.e. without my patches), isn't it?

I'm still not sure how this patchset make it impossible to have stack
dma_ops. These people need per-device dma_ops and we can do stack
per-device dma_ops?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/