- update to 1.2.0:

* sort_irq logic rework to fix unintended ordering
 * removal of the affinity_hint infrastructure as its not needed
 * fixes for invalid cpumask parsing
 * many other minior fixes (see git log)
 * Aarch64 support
 * live interactive monitoring of irqbalance and live adjustment with irqbalance-ui
- remove fix-aarch64-support.patch: upstreamed

OBS-URL: https://build.opensuse.org/package/show/Base:System/irqbalance?expand=0&rev=60
This commit is contained in:
Dirk Mueller 2017-01-12 18:03:54 +00:00 committed by Git OBS Bridge
parent 9ba19519f3
commit 8bbe68ecf8
5 changed files with 19 additions and 44 deletions

View File

@ -1,36 +0,0 @@
From 1dccd034a90b2f0221423632de65cbf84d05ebfb Mon Sep 17 00:00:00 2001
From: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
Date: Tue, 15 Dec 2015 09:09:09 +0100
Subject: [PATCH] Fix AArch64 support
Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz@redhat.com>
Signed-off-by: PJ Waskiewicz <pjwaskiewicz@gmail.com>
---
procinterrupts.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/procinterrupts.c b/procinterrupts.c
index 63101d6..b70bfc2 100644
--- a/procinterrupts.c
+++ b/procinterrupts.c
@@ -80,7 +80,7 @@ static int check_platform_device(char *name, struct irq_info *info)
rc = 0;
goto out;
} else if (!strncmp(ent->d_name, "net", strlen("net"))) {
- info->IRQ_TYPE_LEGACY;
+ info->type = IRQ_TYPE_LEGACY;
info->class = IRQ_ETH;
rc = 0;
goto out;
@@ -94,7 +94,7 @@ static int check_platform_device(char *name, struct irq_info *info)
out:
closedir(dirfd);
- log(TO_ALL, LOG_DEBUG, "IRQ %s is of type %d and class %d\n", name, info->type, info->class)
+ log(TO_ALL, LOG_DEBUG, "IRQ %s is of type %d and class %d\n", name, info->type, info->class);
return rc;
}
--
2.7.1

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Thu Jan 12 18:03:02 UTC 2017 - dmueller@suse.com
- update to 1.2.0:
* sort_irq logic rework to fix unintended ordering
* removal of the affinity_hint infrastructure as its not needed
* fixes for invalid cpumask parsing
* many other minior fixes (see git log)
* Aarch64 support
* live interactive monitoring of irqbalance and live adjustment with irqbalance-ui
- remove fix-aarch64-support.patch: upstreamed
-------------------------------------------------------------------
Fri Oct 14 13:31:38 UTC 2016 - msuchanek@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package irqbalance
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: irqbalance
Version: 1.1.0
Version: 1.2.0
Release: 0
Summary: Balance IRQs on SMP Machines
License: GPL-2.0+
@ -25,10 +25,10 @@ Group: System/Daemons
Url: https://github.com/Irqbalance/irqbalance
Source: https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz
Source3: sysconfig.irqbalance
Patch1: fix-aarch64-support.patch
Patch2: Set-fd-limit.patch
BuildRequires: libcap-ng-devel
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(glib-2.0)
Requires(pre): coreutils
@ -45,13 +45,12 @@ being used for all IRQs.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%build
NOCONFIGURE=1 ./autogen.sh
%configure
make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE -pie"
make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE -pie -std=c99 $(ncurses5-config --cflags)" LDFLAGS="$(ncurses5-config --libs)"
cp %{SOURCE3} .
gzip irqbalance.1

View File

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

3
v1.2.0.tar.gz Normal file
View File

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