lkml.org 
[lkml]   [2008]   [Aug]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 00/25] dyn_array and nr_irqs support v3
    On Tue, Aug 5, 2008 at 4:26 PM, H. Peter Anvin <hpa@zytor.com> wrote:
    > Yinghai Lu wrote:
    >>
    >> i am working on dyn_array + condense irq_desc/irq_cfg.
    >>
    >> it will use dyn_array to allocate 32 entry for irq_desc/irq_cfg, and
    >> will use get_irq_desc via list to distribute it. later if need more,
    >> will allocate more 32 entries....
    >>
    >> so will send out v4.
    >>
    >
    > My understanding of dyn_array is that it only works at init time.
    > How does that work when you hotplug MSI-X devices?

    actually create irq_desc like Eric suggest, but allocate 32 entry one
    time, and use it one by one. share some init work function bewteen
    init stage and later.

    YH


    \
     
     \ /
      Last update: 2008-08-06 01:57    [W:2.562 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site