• David S. Miller's avatar
    sparc: Size mondo queues more sanely. · 961f65fc
    David S. Miller authored
    There is currently no upper limit on the mondo queue sizes we'll use,
    which guarentees that we'll eventually his page allocation limits, and
    thus allocation failures, due to MAX_ORDER.
    
    Cap the sizes sanely, current limits are:
    
    CPU  MONDO	2 * max_possible_cpus
    DEV  MONDO	256 (basically NR_IRQS)
    RES  MONDO	128
    NRES MONDO	4
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    961f65fc
mdesc.c 20.3 KB