lkml.org 
[lkml]   [2004]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH] Improve pci_alloc_consistent wrapper on preemptive kernels
    From
    Date
    On Fri, 2004-07-30 at 16:02, Andrew Morton wrote:
    > We're paying for past sins here. I think it would be better to create a
    > new version of pci_alloc_consistent() which takes gfp_flags, then migrate
    > the drivers you care about to use it. That way the benefit is available on
    > non-preempt kernels too.
    >
    > The ultimate aim of course would be to deprecate then remove the old
    > function.

    True, that's why it was added for dma_alloc_coherent().

    Is there any need for a new wrapper? Why not just use
    dma_alloc_coherent() from now on?

    James


    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.134 / U:0.484 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site