• Chris Metcalf's avatar
    nohz: Prevent tilegx network driver interrupts · 03f6199a
    Chris Metcalf authored
    Normally the tilegx networking shim sends irqs to all the cores
    to distribute the load of processing incoming-packet interrupts,
    so that you can get to multiple Gb's of traffic inbound.
    
    However, in nohz_full mode we don't want to interrupt the
    nohz_full cores by default, so we limit the set of cores we use
    to only the online housekeeping cores.
    
    To make client code easier to read, we introduce a new nohz_full
    accessor, housekeeping_cpumask(), which returns a pointer to the
    housekeeping_mask if nohz_full is enabled, and otherwise returns
    the cpu_possible_mask.
    Signed-off-by: default avatarChris Metcalf <cmetcalf@ezchip.com>
    Cc: Christoph Lameter <cl@linux.com>
    Cc: Ingo Molnar <mingo@kernel.org>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
    Cc: Rik van Riel <riel@redhat.com>
    Cc: Thomas Gleixner <tglx@linutronix.de>
    Cc: Viresh Kumar <viresh.kumar@linaro.org>
    Signed-off-by: default avatarFrederic Weisbecker <fweisbec@gmail.com>
    03f6199a
tilegx.c 63.6 KB