[lkml]   [2002]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: pci_pool reap?
    > There is a certain controversy about pci_free_consistent called
    > from an interrupt. It seems that most architectures would
    > have no problems, and only arm is problematic. RMK says that

    The discussion was about pci_alloc_consistent. The free case seems to be
    explicitly disallowed in all cases.

    (from DMA-mapping.txt)

    To unmap and free such a DMA region, you call:

    pci_free_consistent(dev, size, cpu_addr, dma_handle);

    where dev, size are the same as in the above call and cpu_addr and
    dma_handle are the values pci_alloc_consistent returned to you.
    This function may not be called in interrupt context.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:18    [W:0.019 / U:38.224 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site