Accepting request 1010443 from home:dirkmueller:Factory

- update to 1.9.1:
  * get irq->module relationship from /sys/bus/pci/*/driver
  * ensure --banmod is respected
  * check whether savedptr is NULL before invoking strlen
  * add meson
  * support thermal events
  * fix irqbalance never exits
  * irqbalance-ui: able to scroll and show coulist and irqs' name 
- drop proc-interrupts.patch (upstream)

OBS-URL: https://build.opensuse.org/request/show/1010443
OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=99
This commit is contained in:
Thomas Renninger 2022-10-13 16:40:28 +00:00 committed by Git OBS Bridge
parent 3d6b6d7fbf
commit 054c5fec2e
5 changed files with 17 additions and 31 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:883d3f6296f7e4a17e09dc2c91bd972e110fe574c119d9e45ec0c4e35c7317bb
size 55779

3
irqbalance-1.9.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:aefd93332616f85c14458d0cffe9c1f4f68bce67ac194b001b9bf136fc8d0e34
size 62126

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Oct 13 09:03:59 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.9.1:
* get irq->module relationship from /sys/bus/pci/*/driver
* ensure --banmod is respected
* check whether savedptr is NULL before invoking strlen
* add meson
* support thermal events
* fix irqbalance never exits
* irqbalance-ui: able to scroll and show coulist and irqs' name
- drop proc-interrupts.patch (upstream)
-------------------------------------------------------------------
Wed Aug 17 21:39:04 UTC 2022 - dmueller@suse.com

View File

@ -21,7 +21,7 @@
%define _fillupdir %{_localstatedir}/adm/fillup-templates
%endif
Name: irqbalance
Version: 1.9.0
Version: 1.9.1
Release: 0
Summary: Daemon to balance IRQs on SMP machines
License: GPL-2.0-or-later
@ -30,7 +30,6 @@ URL: https://github.com/Irqbalance/irqbalance
Source: https://github.com/Irqbalance/irqbalance/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
Source3: sysconfig.irqbalance
Patch1: Set-fd-limit.patch
Patch2: proc-interrupts.patch
BuildRequires: libcap-ng-devel
BuildRequires: libtool
BuildRequires: ncurses-devel

View File

@ -1,26 +0,0 @@
From 0a82dddbaf5702caded0d0d83a6eafaca743254d Mon Sep 17 00:00:00 2001
From: Andreas Schwab <schwab@suse.de>
Date: Mon, 27 Jun 2022 13:43:04 +0200
Subject: [PATCH] parse_proc_interrupts: fix parsing interrupt counts
The name of an interrupt chip can start with a number, stop before it.
---
procinterrupts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/procinterrupts.c b/procinterrupts.c
index 57c8801..d90bf6d 100644
--- a/procinterrupts.c
+++ b/procinterrupts.c
@@ -331,7 +331,7 @@ void parse_proc_interrupts(void)
while (1) {
uint64_t C;
C = strtoull(c, &c2, 10);
- if (c==c2) /* end of numbers */
+ if (c==c2 || !strchr(" \t", *c2)) /* end of numbers */
break;
count += C;
c=c2;
--
2.35.3