summaryrefslogtreecommitdiffstats
path: root/kernel/time/tick-sched.c
diff options
context:
space:
mode:
authorChris Metcalf2015-07-10 21:37:25 +0200
committerFrederic Weisbecker2015-07-29 15:44:59 +0200
commit03f6199a359e460714b6bd08c10b566760f150a6 (patch)
tree71adc3d1afe58a51f80df84152b969d4a6d36df1 /kernel/time/tick-sched.c
parentalpha: Fix jiffies based cputime assumption (diff)
downloadkernel-qcow2-linux-03f6199a359e460714b6bd08c10b566760f150a6.tar.gz
kernel-qcow2-linux-03f6199a359e460714b6bd08c10b566760f150a6.tar.xz
kernel-qcow2-linux-03f6199a359e460714b6bd08c10b566760f150a6.zip
nohz: Prevent tilegx network driver interrupts
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: Chris 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: Frederic Weisbecker <fweisbec@gmail.com>
Diffstat (limited to 'kernel/time/tick-sched.c')
0 files changed, 0 insertions, 0 deletions