lkml.org 
[lkml]   [2016]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: Enabling peer to peer device transactions for PCIe devices


    On 05/12/16 12:46 PM, Jason Gunthorpe wrote:
    > NVMe might have to deal with pci-e hot-unplug, which is a similar
    > problem-class to the GPU case..

    Sure, but if the NVMe device gets hot-unplugged it means that all the
    CMB mappings are useless and need to be torn down. This probably means
    killing any process that has mappings open.

    > In any event the allocator still needs to track which regions are in
    > use and be able to hook 'free' from userspace. That does suggest it
    > should be integrated into the nvme driver and not a bolt on driver..

    Yup, that's correct. And yes, I've never suggested this to be a bolt on
    driver -- I always expected for it to get integrated into the nvme
    driver. (iopmem was not meant for this.)

    Logan

    \
     
     \ /
      Last update: 2016-12-05 21:01    [W:4.085 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site