diff --git a/feature-add-new-user-irq-policy-config-rule.patch b/feature-add-new-user-irq-policy-config-rule.patch index 88d5856..e042318 100644 --- a/feature-add-new-user-irq-policy-config-rule.patch +++ b/feature-add-new-user-irq-policy-config-rule.patch @@ -14,9 +14,9 @@ for every irq. misc/irqbalance.service | 2 +- placement.c | 3 +- procinterrupts.c | 3 +- - rules_config.c | 170 ++++++++++++++++++++++++++++++++++++++++++++++++ - rules_config.h | 38 +++++++++++ - 9 files changed, 263 insertions(+), 23 deletions(-) + rules_config.c | 172 ++++++++++++++++++++++++++++++++++++++++++++++++ + rules_config.h | 40 +++++++++++ + 9 files changed, 267 insertions(+), 23 deletions(-) create mode 100644 rules_config.c create mode 100644 rules_config.h @@ -259,16 +259,18 @@ new file mode 100644 index 0000000..1270ac7 --- /dev/null +++ b/rules_config.c -@@ -0,0 +1,170 @@ +@@ -0,0 +1,172 @@ +/* + * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. + * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the MuLan PSL v1. ++ * This program file is free software; you can redistribute it and/or modify it ++ * under the terms of the GNU General Public License as published by the ++ * Free Software Foundation; version 2 of the License. + * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MuLan PSL v1 for more details. ++ * This program is distributed in the hope that it will be useful, but WITHOUT ++ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++ * for more details. + */ +#include +#include @@ -435,16 +437,18 @@ new file mode 100644 index 0000000..b8f9dc5 --- /dev/null +++ b/rules_config.h -@@ -0,0 +1,38 @@ +@@ -0,0 +1,40 @@ +/* + * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. + * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the MuLan PSL v1. ++ * This program file is free software; you can redistribute it and/or modify it ++ * under the terms of the GNU General Public License as published by the ++ * Free Software Foundation; version 2 of the License. + * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MuLan PSL v1 for more details. ++ * This program is distributed in the hope that it will be useful, but WITHOUT ++ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++ * for more details. + */ + +#ifndef _INCLUDE_RULES_CONFIG_H @@ -477,3 +481,4 @@ index 0000000..b8f9dc5 -- 1.8.3.1 + diff --git a/feature-introduce-verifyhint-to-detect-hint-variation.patch b/feature-introduce-verifyhint-to-detect-hint-variation.patch index 7917445..6aa49a3 100644 --- a/feature-introduce-verifyhint-to-detect-hint-variation.patch +++ b/feature-introduce-verifyhint-to-detect-hint-variation.patch @@ -10,13 +10,13 @@ introduce the periodically affinity hint verify. activate.c | 24 +++++------ classify.c | 18 ++++++-- cpumask.h | 7 +++ - hint_verify.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ - hint_verify.h | 19 +++++++++ + hint_verify.c | 149 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ + hint_verify.h | 21 +++++++++ irqbalance.c | 39 +++++++++++------ irqbalance.h | 4 ++ placement.c | 14 ++++++ types.h | 1 + - 10 files changed, 246 insertions(+), 29 deletions(-) + 10 files changed, 250 insertions(+), 29 deletions(-) create mode 100644 hint_verify.c create mode 100644 hint_verify.h @@ -149,16 +149,18 @@ new file mode 100644 index 0000000..7a904b0 --- /dev/null +++ b/hint_verify.c -@@ -0,0 +1,147 @@ +@@ -0,0 +1,149 @@ +/* + * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. + * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the MuLan PSL v1. ++ * This program file is free software; you can redistribute it and/or modify it ++ * under the terms of the GNU General Public License as published by the ++ * Free Software Foundation; version 2 of the License. + * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MuLan PSL v1 for more details. ++ * This program is distributed in the hope that it will be useful, but WITHOUT ++ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++ * for more details. + */ +#include +#include @@ -302,16 +304,18 @@ new file mode 100644 index 0000000..a309461 --- /dev/null +++ b/hint_verify.h -@@ -0,0 +1,19 @@ +@@ -0,0 +1,21 @@ +/* + * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. + * -+ * This program is free software; you can redistribute it and/or modify -+ * it under the terms of the MuLan PSL v1. ++ * This program file is free software; you can redistribute it and/or modify it ++ * under the terms of the GNU General Public License as published by the ++ * Free Software Foundation; version 2 of the License. + * -+ * This program is distributed in the hope that it will be useful, -+ * but WITHOUT ANY WARRANTY; without even the implied warranty of -+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MuLan PSL v1 for more details. ++ * This program is distributed in the hope that it will be useful, but WITHOUT ++ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ++ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ++ * for more details. + */ + +#ifndef _INCLUDE_HINT_VERIFY_H @@ -501,3 +505,4 @@ index e1f3dc6..c0950ee 100644 -- 1.8.3.1 + diff --git a/irqbalance.spec b/irqbalance.spec index 8b8e8d0..10103ec 100644 --- a/irqbalance.spec +++ b/irqbalance.spec @@ -1,7 +1,7 @@ Summary: A dynamic adaptive IRQ balancing daemon Name: irqbalance Version: 1.4.0 -Release: 14 +Release: 15 Epoch: 3 License: GPLv2 @@ -133,6 +133,12 @@ fi /sbin/chkconfig --del %{name} >/dev/null 2>&1 || : %changelog +* Mon Dec 30 2019 yuxiangyang - 3:1.4.0-15 +- Type:enhanced +- ID:NA +- SUG:restart +- DESC:update Huawei copyright + * Thu Dec 26 2019 caomeng - 3:1.4.0-14 - Type:NA - ID:NA