Go to file
Yunfeng Ye 47137bb3e7 irqbalance: initialize package_mask before using in do_one_cpu()
The local variable package_mask is used without initialized. add
cpus_clear(package_mask) before using, and move it to the error path
where getting packpage_mask fail from core_siblings.

In addition, the variable cache_mask is called cpu_set() twice, which
is unnecessary, so delete the redundant code.

Signed-off-by: Yunfeng Ye <yeyunfeng@huawei.com>
2019-11-07 02:12:19 +08:00
misc Add optional config file in /usr/lib 2019-09-17 08:56:11 -04:00
tests Add make check targets 2018-05-14 14:14:02 -04:00
ui fix resource leak for not invoking closedir() after opendir() 2019-10-11 17:44:06 +08:00
.gitignore irqbalance: Misc build enhancements 2012-03-26 10:19:00 -04:00
.travis.yml Dump the log to the console 2018-05-14 14:27:03 -04:00
activate.c reduce redundant code for file processing 2019-10-12 18:56:01 +08:00
AUTHORS Add autotools scripts to irqbalance 2009-09-01 15:50:39 +00:00
autogen.sh Make sure the m4 directory is created in autogen.sh 2012-06-20 11:45:37 -04:00
bitmap.c import __bitmap_parselist from Linux kernel 2015-03-12 17:47:00 -04:00
bitmap.h import __bitmap_parselist from Linux kernel 2015-03-12 17:47:00 -04:00
classify.c irqbalance: use NUMA_NO_NODE macro instead of -1 for numa 2019-11-03 22:12:36 +08:00
configure.ac Update version in configure.ac 2019-05-22 08:19:33 -04:00
constants.h Compute load in nanoseconds 2013-02-18 14:08:57 -05:00
COPYING Adding missing configure files 2009-10-02 18:22:21 +00:00
cpumask.h irqbalance: use num_online_cpus() instead core_count 2019-11-04 23:01:02 +08:00
cputree.c irqbalance: initialize package_mask before using in do_one_cpu() 2019-11-07 02:12:19 +08:00
irqbalance-ui.1 Add stub manpage for irqbalance-ui 2019-07-21 12:15:14 +02:00
irqbalance.1 Capitalize HOMEPAGE in irqbalance.1 2019-07-21 12:15:24 +02:00
irqbalance.c irqbalance: use num_online_cpus() instead core_count 2019-11-04 23:01:02 +08:00
irqbalance.h irqbalance: use num_online_cpus() instead core_count 2019-11-04 23:01:02 +08:00
irqlist.c Fix min_load to pick actual min load across all objects 2017-11-15 07:33:47 -05:00
Makefile.am Add irqbalance-ui.1 to dist_man_MANS 2019-07-23 19:40:12 +02:00
non-atomic.h initial import 2006-12-09 15:59:16 +00:00
numa.c irqbalance: use NUMA_NO_NODE macro instead of -1 for numa 2019-11-03 22:12:36 +08:00
placement.c irqbalance: use NUMA_NO_NODE macro instead of -1 for numa 2019-11-03 22:12:36 +08:00
procinterrupts.c irqbalance: use num_online_cpus() instead core_count 2019-11-04 23:01:02 +08:00
README.md Clarify the README description 2019-07-05 00:00:05 +02:00
types.h Types: clean out unused variables from irq_info struct 2017-08-08 14:35:31 -04:00

What is Irqbalance

Irqbalance is a daemon to help balance the cpu load generated by interrupts across all of a systems cpus. Irqbalance identifies the highest volume interrupt sources, and isolates each of them to a single unique cpu, so that load is spread as much as possible over an entire processor set, while minimizing cache miss rates for irq handlers.

Building and Installing Build Status

./autogen.sh
./configure [options]
make
make install

Developing Irqbalance

Irqbalance is currently hosted on github, and so developers are welcome to use the issue/pull request/etc infrastructure found there. However, most development discussions take place on the irqbalance mailing list, which can be subscribed to at: http://lists.infradead.org/mailman/listinfo/irqbalance

New Developers are encouraged to use this mailing list to discuss ideas and propose patches.

Bug reporting

When something goes wrong, feel free to send us bugreport by one of the ways described above. Your report should include:

  • Irqbalance version you've been using (or commit hash)
  • /proc/interrupts output
  • irqbalance --debug output
  • content of smp_affinity files - can be obtained by e.g.: $ for i in $(seq 0 300); do grep . /proc/irq/$i/smp_affinity /dev/null 2>/dev/null; done
  • your hw hierarchy - e.g. lstopo-no-graphics output