|
|
Subscribe / Log in / New account

Device-to-device memory-transfer offload with P2PDMA

Device-to-device memory-transfer offload with P2PDMA

Posted Oct 4, 2018 15:57 UTC (Thu) by willy (subscriber, #9762)
Parent article: Device-to-device memory-transfer offload with P2PDMA

Just because a parameter is called 'size' does not mean it should have type 'size_t'. In this case, it's a length of a (subset of a) BAR, and it can easily be 64-bit on a 32-bit kernel. Should probably be phys_addr_t (even though it's a length, not an address).


to post comments

Device-to-device memory-transfer offload with P2PDMA

Posted Oct 5, 2018 1:40 UTC (Fri) by sbates (subscriber, #106518) [Link]

Willy

Logan just submitted v9 today. Perhaps comment on that with your size_t concerns. All input gratefully received ;-).

Stephen


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds