Re: MSI to memory?

From: Roland Dreier
Date: Wed Jul 07 2004 - 12:02:48 EST


Helge> Won't that put a bad load on the bus? Someone else might
Helge> need it: * Another cpu in a smp system * Any device doing
Helge> bus-master transfers, even in a UP system

Actually with MSI, the PCI device writes directly to a host address.
In the proposed usage in this mail thread, the address is in host
memory, so there's no bus load to poll the memory. Presumably the
memory will be pulled into cache for the duration of the poll loop, so
there's not even any memory bandwidth consumed. (Of course this only
works on an architecture where PCI DMA is cache coherent)

- Roland

Date: Wed, 07 Jul 2004 09:59:04 -0700
In-Reply-To: <40EBF07B.8040003@xxxxxxx> (Helge Hafting's message of "Wed, 07 Jul 2004 14:45:47 +0200")
Message-ID: <52wu1foisn.fsf@xxxxxxxxxxx>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, linux)
-
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/