lkml.org 
[lkml]   [2010]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: swiotlb detection should be memory hotplug aware ?
    Date
    FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> writes:
    >
    >> The other problem is that using only two bits for the needed address
    >> space is also extremly
    >> inefficient (4GB and 16MB on x86). Really want masks everywhere and
    >> optimize for the
    >> actual requirements.
    >
    > swiotlb doesn't allocate GFP_DMA memory. It handles only GFP_DMA32.

    I was lumping GFP_DMA and swiotlb together here. The
    pci_alloc_consistent() function uses both interchangedly.
    They really effectively are the same thing these days
    and just separated by historical accident.


    > I have a half-baked patch for it. I'll send it later.

    The problem are still the *_map users which usually cannot sleep,
    and then it's difficult to grow.
    For *_alloc it's relatively easy and to some extend already
    implemented.

    -Andi

    --
    ak@linux.intel.com -- Speaking for myself only.


    \
     
     \ /
      Last update: 2010-07-28 16:13    [W:0.023 / U:332.000 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site