!2 update Huawei copyright

Merge pull request !2 from openeuler-basic/copyright
This commit is contained in:
何晓文 2019-12-30 16:39:06 +08:00 committed by Gitee
commit 4b5fc530d1
3 changed files with 47 additions and 31 deletions

View File

@ -14,9 +14,9 @@ for every irq.
misc/irqbalance.service | 2 +- misc/irqbalance.service | 2 +-
placement.c | 3 +- placement.c | 3 +-
procinterrupts.c | 3 +- procinterrupts.c | 3 +-
rules_config.c | 170 ++++++++++++++++++++++++++++++++++++++++++++++++ rules_config.c | 172 ++++++++++++++++++++++++++++++++++++++++++++++++
rules_config.h | 38 +++++++++++ rules_config.h | 40 +++++++++++
9 files changed, 263 insertions(+), 23 deletions(-) 9 files changed, 267 insertions(+), 23 deletions(-)
create mode 100644 rules_config.c create mode 100644 rules_config.c
create mode 100644 rules_config.h create mode 100644 rules_config.h
@ -259,16 +259,18 @@ new file mode 100644
index 0000000..1270ac7 index 0000000..1270ac7
--- /dev/null --- /dev/null
+++ b/rules_config.c +++ b/rules_config.c
@@ -0,0 +1,170 @@ @@ -0,0 +1,172 @@
+/* +/*
+ * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. + * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
+ * + *
+ * This program is free software; you can redistribute it and/or modify + * This program file is free software; you can redistribute it and/or modify it
+ * it under the terms of the MuLan PSL v1. + * 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, + * This program is distributed in the hope that it will be useful, but WITHOUT
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MuLan PSL v1 for more details. + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */ + */
+#include <stdio.h> +#include <stdio.h>
+#include <stdlib.h> +#include <stdlib.h>
@ -435,16 +437,18 @@ new file mode 100644
index 0000000..b8f9dc5 index 0000000..b8f9dc5
--- /dev/null --- /dev/null
+++ b/rules_config.h +++ b/rules_config.h
@@ -0,0 +1,38 @@ @@ -0,0 +1,40 @@
+/* +/*
+ * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. + * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
+ * + *
+ * This program is free software; you can redistribute it and/or modify + * This program file is free software; you can redistribute it and/or modify it
+ * it under the terms of the MuLan PSL v1. + * 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, + * This program is distributed in the hope that it will be useful, but WITHOUT
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MuLan PSL v1 for more details. + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */ + */
+ +
+#ifndef _INCLUDE_RULES_CONFIG_H +#ifndef _INCLUDE_RULES_CONFIG_H
@ -477,3 +481,4 @@ index 0000000..b8f9dc5
-- --
1.8.3.1 1.8.3.1

View File

@ -10,13 +10,13 @@ introduce the periodically affinity hint verify.
activate.c | 24 +++++------ activate.c | 24 +++++------
classify.c | 18 ++++++-- classify.c | 18 ++++++--
cpumask.h | 7 +++ cpumask.h | 7 +++
hint_verify.c | 147 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ hint_verify.c | 149 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
hint_verify.h | 19 +++++++++ hint_verify.h | 21 +++++++++
irqbalance.c | 39 +++++++++++------ irqbalance.c | 39 +++++++++++------
irqbalance.h | 4 ++ irqbalance.h | 4 ++
placement.c | 14 ++++++ placement.c | 14 ++++++
types.h | 1 + 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.c
create mode 100644 hint_verify.h create mode 100644 hint_verify.h
@ -149,16 +149,18 @@ new file mode 100644
index 0000000..7a904b0 index 0000000..7a904b0
--- /dev/null --- /dev/null
+++ b/hint_verify.c +++ b/hint_verify.c
@@ -0,0 +1,147 @@ @@ -0,0 +1,149 @@
+/* +/*
+ * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. + * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
+ * + *
+ * This program is free software; you can redistribute it and/or modify + * This program file is free software; you can redistribute it and/or modify it
+ * it under the terms of the MuLan PSL v1. + * 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, + * This program is distributed in the hope that it will be useful, but WITHOUT
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MuLan PSL v1 for more details. + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */ + */
+#include <stdio.h> +#include <stdio.h>
+#include <stdlib.h> +#include <stdlib.h>
@ -302,16 +304,18 @@ new file mode 100644
index 0000000..a309461 index 0000000..a309461
--- /dev/null --- /dev/null
+++ b/hint_verify.h +++ b/hint_verify.h
@@ -0,0 +1,19 @@ @@ -0,0 +1,21 @@
+/* +/*
+ * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved. + * Copyright (C) 2019. Huawei Technologies Co., Ltd. All rights reserved.
+ * + *
+ * This program is free software; you can redistribute it and/or modify + * This program file is free software; you can redistribute it and/or modify it
+ * it under the terms of the MuLan PSL v1. + * 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, + * This program is distributed in the hope that it will be useful, but WITHOUT
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MuLan PSL v1 for more details. + * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * for more details.
+ */ + */
+ +
+#ifndef _INCLUDE_HINT_VERIFY_H +#ifndef _INCLUDE_HINT_VERIFY_H
@ -501,3 +505,4 @@ index e1f3dc6..c0950ee 100644
-- --
1.8.3.1 1.8.3.1

View File

@ -1,7 +1,7 @@
Summary: A dynamic adaptive IRQ balancing daemon Summary: A dynamic adaptive IRQ balancing daemon
Name: irqbalance Name: irqbalance
Version: 1.4.0 Version: 1.4.0
Release: 14 Release: 15
Epoch: 3 Epoch: 3
License: GPLv2 License: GPLv2
@ -133,6 +133,12 @@ fi
/sbin/chkconfig --del %{name} >/dev/null 2>&1 || : /sbin/chkconfig --del %{name} >/dev/null 2>&1 || :
%changelog %changelog
* Mon Dec 30 2019 yuxiangyang<yuxiangyang4@huawei.com> - 3:1.4.0-15
- Type:enhanced
- ID:NA
- SUG:restart
- DESC:update Huawei copyright
* Thu Dec 26 2019 caomeng<caomeng5@huawei.com> - 3:1.4.0-14 * Thu Dec 26 2019 caomeng<caomeng5@huawei.com> - 3:1.4.0-14
- Type:NA - Type:NA
- ID:NA - ID:NA