Device-to-device memory-transfer offload with P2PDMA
Device-to-device memory-transfer offload with P2PDMA
Posted Oct 5, 2018 1:48 UTC (Fri) by sbates (subscriber, #106518)Parent article: Device-to-device memory-transfer offload with P2PDMA
One thing the article did not comment on is the ARCH specific nature of P2PDMA. While the framework is ARCH agnostic we do rely on devm_memremap_pages() which relies on ZONE_DEVICE which *is* ARCH specific (and in turn relies on MEMORY_HOTPLUG). Right now this includes x86_64 but not (for example) aarch64. Interestingly for some, we are looking at adding ARCH_HAS_ZONE_DEVICE for riscv because we see that ARCH as an interesting candidate for P2PDMA.
Of course patches that add support for ZONE_DEVICE to other ARCH would be very cool.
Cheers
Stephen
