40 Commits

Author SHA1 Message Date
openeuler-ci-bot
7465df754a
!81 sync upstream bugfix commits
From: @chinyu0704 
Reviewed-by: @SuperSix173 
Signed-off-by: @SuperSix173
2023-01-05 12:37:11 +00:00
qinyu
84b2c01879 irqbalance: procinterrupts: Fix IRQ name parsing on certain arm64 SoC
procinterrupts: Fix IRQ name parsing on certain arm64 SoC

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:09 +08:00
qinyu
654999b7f1 irqbalance: check whether savedptr is NULL before invoking strlen
check whether savedptr is NULL before invoking strlen

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:09 +08:00
qinyu
450e509daa irqbalance: fix opendir fails in check_platform_device
fix opendir fails in check_platform_device

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:09 +08:00
qinyu
f97c2da792 irqbalance: add keep_going check to prevent irqbalance from failing to exit after SIGTERM
add keep_going check to prevent irqbalance from failing to exit after SIGTERM

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:08 +08:00
qinyu
f2a2be426e irqbalance: parse_proc_interrupts: fix parsing interrupt counts
parse_proc_interrupts: fix parsing interrupt counts

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:08 +08:00
qinyu
dc6155df16 irqbalance: Add '\0' to the end of strings to avoid heap buffer overflow
Add '\0' to the end of strings to avoid heap buffer overflow

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:08 +08:00
qinyu
5dfdea86a9 irqbalance: remove no existing irq in banned_irqs
remove no existing irq in banned_irqs

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:08 +08:00
qinyu
3a9655c20f irqbalance: Fix compile issue with none AARCH64 builds
Fix compile issue with none AARCH64 builds

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:08 +08:00
qinyu
4e87047d4a irqbalance: Fix irqbalance cannot obtain the full name of irq
Fix irqbalance cannot obtain the full name of irq

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:08 +08:00
qinyu
3d6bfed55b irqbalance: Add return value check of opendir in do_one_cpu
Add return value check of opendir in do_one_cpu

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:08 +08:00
qinyu
94fb3fd6d8 irqbalance: Hotplug may occur again during sleep, so wait until there is no hotplug
Hotplug may occur again during sleep, so wait until there is no hotplug

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:08 +08:00
qinyu
e8c09cb04f irqbalance: Also fetch node info for non-PCI devices
Also fetch node info for non-PCI devices

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:07 +08:00
qinyu
08ae98ad73 irqbalance: Add hot pull method for irqbalance
Add hot pull method for irqbalance

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:07 +08:00
qinyu
8ff57497b3 irqbalance: add irq hotplug feature for irqbalance
add irq hotplug feature for irqbalance

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:07 +08:00
qinyu
f17762e55a irqbalance: log correctly for isolated and nohz_full cpus
log correctly for isolated and nohz_full cpus

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:07 +08:00
qinyu
b1a4f44928 irqbalance: activate_mapping: activate only online CPUs
activate_mapping: activate only online CPUs

Signed-off-by: qinyu <qinyu32@huawei.com>
2023-01-05 20:24:07 +08:00
openeuler-ci-bot
fbda8b4f5a !54 fix unsigned integer subtraction sign overflow
From: @SuperSix173
Reviewed-by: 
Signed-off-by:
2021-08-27 01:58:14 +00:00
SuperSix173
5469746414 fix unsigned integer subtraction sign overflow 2021-08-25 11:19:49 +08:00
openeuler-ci-bot
e1be83f1e0 !43 [sync] PR-39: remove PIDFile in irqbalance.service
From: @openeuler-sync-bot
Reviewed-by: @liqingqing_1229
Signed-off-by: @liqingqing_1229
2021-05-22 19:46:28 +08:00
SuperSix173
05b6460f7a remove PIDFile in irqbalance.service
(cherry picked from commit 4efd1f4c7c377fda853d8f83deff2ec25d420ea9)
2021-05-22 18:54:31 +08:00
openeuler-ci-bot
9338223e38 !38 remove PIDFile in irqbalance.service
From: @SuperSix173
Reviewed-by: @wangbin224
Signed-off-by: @wangbin224
2021-05-10 20:07:49 +08:00
SuperSix173
17bda84ffd remove PIDFile in irqbalance.service 2021-05-10 17:25:03 +08:00
openeuler-ci-bot
e2b4a3d61e !15 Rebase to v1.7.0
Merge pull request !15 from SuperSix173/openEuler-20.03-LTS
2020-08-17 09:14:28 +08:00
root
85ecf952f1 rebase to v1.7.0 2020-08-14 17:26:52 +08:00
openeuler-ci-bot
638b879189 !9 fix no fPIC error
Merge pull request !9 from sugarfillet/master
2020-03-24 00:42:06 +08:00
sugarfillet
4479c5691d fix no fPIC error 2020-03-24 00:23:48 +08:00
openeuler-ci-bot
8ee6643925 !5 fix rpmbuild error on x86_64 architecture
Merge pull request !5 from HukunaMatata/master
2020-03-21 20:27:07 +08:00
wuxu_wu
a975a4b2f1 fix rpmbuild error on x86_64 architecture. 2020-03-21 18:27:09 +08:00
openeuler-ci-bot
6fc209a523 !4 synchronize patches
Merge pull request !4 from SuperSix/master
2020-03-12 09:27:25 +08:00
SuperSix173
b80d2a2702 synchronize patches 2020-03-11 09:48:32 +08:00
何晓文
4b5fc530d1 !2 update Huawei copyright
Merge pull request !2 from openeuler-basic/copyright
2019-12-30 16:39:06 +08:00
shenyangyang
a2ac9a149c update Huawei copyright 2019-12-30 16:35:04 +08:00
openeuler-ci-bot
f538e3954e !1 rename patch
Merge pull request !1 from openeuler-compute/test_a
2019-12-26 09:45:17 +08:00
caomeng5@huawei.com
f3207add3c rename patch 2019-12-26 09:42:32 +08:00
dogsheng
ad917abf90 Package init 2019-12-25 22:08:07 +08:00
dogsheng
72868d0397 Package init 2019-12-13 15:29:40 +08:00
dogsheng
deb8249f89 Package init 2019-11-19 14:11:38 +08:00
zhuchunyi
02658ac8c8 update code 2019-11-06 19:34:16 +08:00
overweight
aa0afbee66 Package init 2019-09-30 10:53:30 -04:00