• Mike Travis's avatar
    irq: allocate irq_desc_ptrs array based on nr_irqs · 0fa0ebbf
    Mike Travis authored
    Impact: allocate irq_desc_ptrs in preparation for making it variable-sized.
    
    This addresses this memory usage bump when NR_CPUS bumped from 128 to 4096:
    
        34816   +229376    264192  +658%  irq_desc_ptrs(.data.read_mostly)
    
    The patch is split into two parts, the first simply allocates the
    irq_desc_ptrs array.  Then next will deal with making it variable.
    This is only when CONFIG_SPARSE_IRQS=y.
    Signed-off-by: default avatarMike Travis <travis@sgi.com>
    0fa0ebbf
internals.h 2.28 KB