31 lines
797 B
Diff
31 lines
797 B
Diff
From 2c040ddc5869635598e4fbf5c63217f60fdef5f1 Mon Sep 17 00:00:00 2001
|
|
From: xiashuang <xiashuang1@huawei.com>
|
|
Date: Sun, 17 Mar 2019 18:59:09 -0400
|
|
Subject: [PATCH 2/4] bugfix fix a hole that flees hotplug event
|
|
|
|
from 1.0.9, original infoformation is missing
|
|
---
|
|
irqbalance.c | 6 +++---
|
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/irqbalance.c b/irqbalance.c
|
|
index 6412447..2f699b8 100644
|
|
--- a/irqbalance.c
|
|
+++ b/irqbalance.c
|
|
@@ -284,9 +284,9 @@ gboolean scan(gpointer data)
|
|
for_each_irq(NULL, force_rebalance_irq, NULL);
|
|
parse_proc_interrupts();
|
|
parse_proc_stat();
|
|
- sleep_approx(sleep_interval);
|
|
- clear_work_stats();
|
|
- parse_proc_interrupts();
|
|
+
|
|
+ /* Still need to check hotplugged or not next round */
|
|
+ return TRUE;
|
|
}
|
|
|
|
parse_proc_stat();
|
|
--
|
|
1.8.3.1
|
|
|