Skip to contentSkip to conversation

SPDX changes for v5.1

PATCH Superseded Paul E. McKenney 3 participants 44 messages Feb 6, 2019 – Feb 10, 2019

Subsystems (3)
lore
Share & tools
lore
#6 lore raw

PATCH 6/19 rcu/sync: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier.

---
 kernel/rcu/sync.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
kernel/rcu/sync.c +1 -14
index be10036fa621..a8304d90573f 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * RCU-based infrastructure for lightweight reader-writer locking
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (c) 2015, Red Hat, Inc.
  *
  * Author: Oleg Nesterov <[email protected]>
Signature · 1 line
2.17.1
#13 lore raw

PATCH 13/19 linux/rcu_sync: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier.

---
 include/linux/rcu_sync.h | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
include/linux/rcu_sync.h +1 -14
index ece7ed9a4a70..5890da7a38b8 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * RCU-based infrastructure for lightweight reader-writer locking
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (c) 2015, Red Hat, Inc.
  *
  * Author: Oleg Nesterov <[email protected]>
Signature · 1 line
2.17.1
#16 lore raw

PATCH 16/19 linux/srcu: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 include/linux/srcu.h     | 17 ++---------------
 include/linux/srcutiny.h | 17 ++---------------
 include/linux/srcutree.h | 17 ++---------------
 3 files changed, 6 insertions(+), 45 deletions(-)
include/linux/srcu.h +2 -15
index c614375cd264..5f102b265adb 100644
@@ -1,24 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Sleepable Read-Copy Update mechanism for mutual exclusion
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2006
  * Copyright (C) Fujitsu, 2012
  *
- * Author: Paul McKenney <[email protected]>
+ * Author: Paul McKenney <[email protected]>
  *	   Lai Jiangshan <[email protected]>
  *
  * For detailed explanation of Read-Copy Update mechanism see -
include/linux/srcutiny.h +2 -15
index b19216aaaef2..c84cea86564a 100644
@@ -1,24 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Sleepable Read-Copy Update mechanism for mutual exclusion,
  *	tiny variant.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2017
  *
- * Author: Paul McKenney <[email protected]>
+ * Author: Paul McKenney <[email protected]>
  */
 
 #ifndef _LINUX_SRCU_TINY_H
include/linux/srcutree.h +2 -15
index 6f292bd3e7db..6e432fe27d0e 100644
@@ -1,24 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Sleepable Read-Copy Update mechanism for mutual exclusion,
  *	tree variant.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2017
  *
- * Author: Paul McKenney <[email protected]>
+ * Author: Paul McKenney <[email protected]>
  */
 
 #ifndef _LINUX_SRCU_TREE_H
Signature · 1 line
2.17.1
#10 lore raw

PATCH 10/19 linux/rcu_node_tree: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 include/linux/rcu_node_tree.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
include/linux/rcu_node_tree.h +2 -15
index 426cee67f0e2..ff6896d9ca85 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * RCU node combining tree definitions.  These are used to compute
  * global attributes while avoiding common-case global contention.  A key
@@ -11,23 +12,9 @@
  * because the size of the TREE SRCU srcu_struct structure depends
  * on these definitions.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2017
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  */
 
 #ifndef __LINUX_RCU_NODE_TREE_H
Signature · 1 line
2.17.1
#18 lore raw

PATCH 18/19 linux/torture: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 include/linux/torture.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
include/linux/torture.h +2 -15
index 48fad21109fc..e66fe68aa382 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Common functions for in-kernel torture tests.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2014
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  */
 
 #ifndef __LINUX_TORTURE_H
Signature · 1 line
2.17.1
#19 lore raw

PATCH 19/19 locking/locktorture: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/locking/locktorture.c | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)
kernel/locking/locktorture.c +3 -16
index 7d0b0ed74404..d163c5b75d72 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Module-based torture test facility for locking
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2014
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  *          Davidlohr Bueso <[email protected]>
  *	Based on kernel/rcu/torture.c.
  */
@@ -45,7 +32,7 @@
 #include <linux/torture.h>
 
 MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
+MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
 
 torture_param(int, nwriters_stress, -1,
 	     "Number of write-locking stress-test threads");
Signature · 1 line
2.17.1
#17 lore raw

PATCH 17/19 torture: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/torture.c | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)
kernel/torture.c +3 -16
index bbf6d473e50c..67620e5141d2 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Common functions for in-kernel torture tests.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2014
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  *	Based on kernel/rcu/torture.c.
  */
 
@@ -53,7 +40,7 @@
 #include "rcu/rcu.h"
 
 MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
+MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
 
 static char *torture_type;
 static int verbose;
Signature · 1 line
2.17.1
#12 lore raw

PATCH 12/19 linux/rcu_segcblist: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 include/linux/rcu_segcblist.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
include/linux/rcu_segcblist.h +2 -15
index c3ad00e63556..0211b74a14b1 100644
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * RCU segmented callback lists
  *
@@ -5,23 +6,9 @@
  * because the size of the TREE SRCU srcu_struct structure depends
  * on these definitions.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2017
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  */
 
 #ifndef __INCLUDE_LINUX_RCU_SEGCBLIST_H
Signature · 1 line
2.17.1
#5 lore raw

PATCH 5/19 rcu/srcu: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/srcutiny.c | 17 ++---------------
 kernel/rcu/srcutree.c | 17 ++---------------
 2 files changed, 4 insertions(+), 30 deletions(-)
kernel/rcu/srcutiny.c +2 -15
index 32dfd6522548..5d4a39a6505a 100644
@@ -1,24 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Sleepable Read-Copy Update mechanism for mutual exclusion,
  *	tiny version for non-preemptible single-CPU use.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2017
  *
- * Author: Paul McKenney <[email protected]>
+ * Author: Paul McKenney <[email protected]>
  */
 
 #include <linux/export.h>
kernel/rcu/srcutree.c +2 -15
index 3600d88d8956..7a5944b42b02 100644
@@ -1,24 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Sleepable Read-Copy Update mechanism for mutual exclusion.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2006
  * Copyright (C) Fujitsu, 2012
  *
- * Author: Paul McKenney <[email protected]>
+ * Author: Paul McKenney <[email protected]>
  *	   Lai Jiangshan <[email protected]>
  *
  * For detailed explanation of Read-Copy Update mechanism see -
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/19 rcu/rcu.h: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/rcu.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
kernel/rcu/rcu.h +2 -15
index 75787186bd4f..7d788e541170 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update definitions shared among RCU implementations.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2011
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  */
 
 #ifndef __LINUX_RCU_H
Signature · 1 line
2.17.1
#0 lore raw

cover SPDX changes for v5.1

Hello!

This series makes SPDX and email-address changes to RCU source files.

Thanx, Paul

------------------------------------------------------------------------

 include/linux/rcu_node_tree.h |   17 ++---------------
 include/linux/rcu_segcblist.h |   17 ++---------------
 include/linux/rcu_sync.h      |   15 +--------------
 include/linux/rcupdate.h      |   17 ++---------------
 include/linux/rcutiny.h       |   17 ++---------------
 include/linux/rcutree.h       |   19 +++----------------
 include/linux/srcu.h          |   17 ++---------------
 include/linux/srcutiny.h      |   17 ++---------------
 include/linux/srcutree.h      |   17 ++---------------
 include/linux/torture.h       |   17 ++---------------
 kernel/locking/locktorture.c  |   19 +++----------------
 kernel/rcu/rcu.h              |   17 ++---------------
 kernel/rcu/rcu_segcblist.c    |   17 ++---------------
 kernel/rcu/rcu_segcblist.h    |   17 ++---------------
 kernel/rcu/rcuperf.c          |   19 +++----------------
 kernel/rcu/rcutorture.c       |   19 +++----------------
 kernel/rcu/srcutiny.c         |   17 ++---------------
 kernel/rcu/srcutree.c         |   17 ++---------------
 kernel/rcu/sync.c             |   15 +--------------
 kernel/rcu/tiny.c             |   17 ++---------------
 kernel/rcu/tree.c             |   19 +++----------------
 kernel/rcu/tree.h             |   17 ++---------------
 kernel/rcu/tree_exp.h         |   17 ++---------------
 kernel/rcu/tree_plugin.h      |   17 ++---------------
 kernel/rcu/update.c           |   17 ++---------------
 kernel/torture.c              |   19 +++----------------
 26 files changed, 56 insertions(+), 394 deletions(-)
#2 lore raw

PATCH 2/19 rcu/rcuperf: Convert to SPDX license identifier

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/rcuperf.c | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)
kernel/rcu/rcuperf.c +3 -16
index b459da70b4fc..83c411cb09bd 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update module-based performance-test facility
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2015
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  */
 
 #define pr_fmt(fmt) fmt
@@ -54,7 +41,7 @@
 #include "rcu.h"
 
 MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
+MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
 
 #define PERF_FLAG "-perf:"
 #define PERFOUT_STRING(s) \
Signature · 1 line
2.17.1
#15 lore raw

PATCH 15/19 linux/rcutree: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 include/linux/rcutree.h | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)
include/linux/rcutree.h +3 -16
index 7f83179177d1..56c0d7c461c9 100644
@@ -1,26 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update mechanism for mutual exclusion (tree-based version)
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2008
  *
  * Author: Dipankar Sarma <[email protected]>
- *	   Paul E. McKenney <[email protected]> Hierarchical algorithm
+ *	   Paul E. McKenney <[email protected]> Hierarchical algorithm
  *
- * Based on the original work by Paul McKenney <[email protected]>
+ * Based on the original work by Paul McKenney <[email protected]>
  * and inputs from Rusty Russell, Andrea Arcangeli and Andi Kleen.
  *
  * For detailed explanation of Read-Copy Update mechanism see -
Signature · 1 line
2.17.1
#14 lore raw

PATCH 14/19 linux/rcutiny: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 include/linux/rcutiny.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
include/linux/rcutiny.h +2 -15
index af65d1f36ddb..23fbbcc22c6a 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update mechanism for mutual exclusion, the Bloatwatch edition.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2008
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  *
  * For detailed explanation of Read-Copy Update mechanism see -
  *		Documentation/RCU
Signature · 1 line
2.17.1
#9 lore raw

PATCH 9/19 rcu/update: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/update.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
kernel/rcu/update.c +2 -15
index 1971869c4072..e3c6395c9b4c 100644
@@ -1,26 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update mechanism for mutual exclusion
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2001
  *
  * Authors: Dipankar Sarma <[email protected]>
  *	    Manfred Spraul <[email protected]>
  *
- * Based on the original work by Paul McKenney <[email protected]>
+ * Based on the original work by Paul McKenney <[email protected]>
  * and inputs from Rusty Russell, Andrea Arcangeli and Andi Kleen.
  * Papers:
  * http://www.rdrop.com/users/paulmck/paper/rclockpdcsproof.pdf
Signature · 1 line
2.17.1
#8 lore raw

PATCH 8/19 rcu/tree: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/tree.c        | 19 +++----------------
 kernel/rcu/tree.h        | 17 ++---------------
 kernel/rcu/tree_exp.h    | 17 ++---------------
 kernel/rcu/tree_plugin.h | 17 ++---------------
 4 files changed, 9 insertions(+), 61 deletions(-)
kernel/rcu/tree.c +3 -16
index 1c4add096078..3b8e7d56c028 100644
@@ -1,27 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update mechanism for mutual exclusion
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2008
  *
  * Authors: Dipankar Sarma <[email protected]>
  *	    Manfred Spraul <[email protected]>
- *	    Paul E. McKenney <[email protected]> Hierarchical version
+ *	    Paul E. McKenney <[email protected]> Hierarchical version
  *
- * Based on the original work by Paul McKenney <[email protected]>
+ * Based on the original work by Paul McKenney <[email protected]>
  * and inputs from Rusty Russell, Andrea Arcangeli and Andi Kleen.
  *
  * For detailed explanation of Read-Copy Update mechanism see -
kernel/rcu/tree.h +2 -15
index 149557b7c39c..055eef0cd344 100644
@@ -1,25 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update mechanism for mutual exclusion (tree-based version)
  * Internal non-public definitions.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2008
  *
  * Author: Ingo Molnar <[email protected]>
- *	   Paul E. McKenney <[email protected]>
+ *	   Paul E. McKenney <[email protected]>
  */
 
 #include <linux/cache.h>
kernel/rcu/tree_exp.h +2 -15
index d882ca0cd01b..7149eefb2577 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * RCU expedited grace periods
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2016
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  */
 
 #include <linux/lockdep.h>
kernel/rcu/tree_plugin.h +2 -15
index 8ceed9e25ad5..ca2376754ccd 100644
@@ -1,27 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update mechanism for mutual exclusion (tree-based version)
  * Internal non-public definitions that provide either classic
  * or preemptible semantics.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright Red Hat, 2009
  * Copyright IBM Corporation, 2009
  *
  * Author: Ingo Molnar <[email protected]>
- *	   Paul E. McKenney <[email protected]>
+ *	   Paul E. McKenney <[email protected]>
  */
 
 #include <linux/delay.h>
Signature · 1 line
2.17.1
#4 lore raw

PATCH 4/19 rcu/rcutorture: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/rcutorture.c | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)
kernel/rcu/rcutorture.c +3 -16
index f6e85faa4ff4..c47dba261cbe 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update module-based torture test facility
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2005, 2006
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  *	  Josh Triplett <[email protected]>
  *
  * See also:  Documentation/RCU/torture.txt
@@ -61,7 +48,7 @@
 #include "rcu.h"
 
 MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Paul E. McKenney <[email protected]> and Josh Triplett <[email protected]>");
+MODULE_AUTHOR("Paul E. McKenney <[email protected]> and Josh Triplett <[email protected]>");
 
 
 /* Bits for ->extendables field, extendables param, and related definitions. */
Signature · 1 line
2.17.1
#3 lore raw

PATCH 3/19 rcu/rcu_segcblist: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/rcu_segcblist.c | 17 ++---------------
 kernel/rcu/rcu_segcblist.h | 17 ++---------------
 2 files changed, 4 insertions(+), 30 deletions(-)
kernel/rcu/rcu_segcblist.c +2 -15
index 5aff271adf1e..9bd5f6023c21 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * RCU segmented callback lists, function definitions
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2017
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  */
 
 #include <linux/types.h>
kernel/rcu/rcu_segcblist.h +2 -15
index 948470cef385..584fcaf6d03b 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * RCU segmented callback lists, internal-to-rcu header file
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2017
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  */
 
 #include <linux/rcu_segcblist.h>
Signature · 1 line
2.17.1
#7 lore raw

PATCH 7/19 rcu/tiny: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/tiny.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
kernel/rcu/tiny.c +2 -15
index 5f5963ba313e..f142c579fda8 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update mechanism for mutual exclusion, the Bloatwatch edition.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2008
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  *
  * For detailed explanation of Read-Copy Update mechanism see -
  *		Documentation/RCU
Signature · 1 line
2.17.1
#11 lore raw

PATCH 11/19 linux/rcupdate: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 include/linux/rcupdate.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
include/linux/rcupdate.h +2 -15
index 0e39e0d2629e..6da69296d306 100644
@@ -1,25 +1,12 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update mechanism for mutual exclusion
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2001
  *
  * Author: Dipankar Sarma <[email protected]>
  *
- * Based on the original work by Paul McKenney <[email protected]>
+ * Based on the original work by Paul McKenney <[email protected]>
  * and inputs from Rusty Russell, Andrea Arcangeli and Andi Kleen.
  * Papers:
  * http://www.rdrop.com/users/paulmck/paper/rclockpdcsproof.pdf
Signature · 1 line
2.17.1
#20 lore raw
In reply to Paul E. McKenney
Quoted 1 line · Paul E. McKenney

Hello!

Hi.

Quoted 1 line

This series makes SPDX and email-address changes to RCU source files.

.h files are supposed to use /* SPDX-License-Identifier: ... */

Documentation/process/license-rules.rst:      C source: // SPDX-License-Identifier: <SPDX License Expression>
Documentation/process/license-rules.rst:      C header: /* SPDX-License-Identifier: <SPDX License Expression> */
Documentation/process/license-rules.rst:      ASM:      /* SPDX-License-Identifier: <SPDX License Expression> */
#21 lore raw
Quoted 5 lines · Joe Perches
Quoted 1 line · Paul E. McKenney

Hello!

Hi.

Quoted 7 lines
Quoted 1 line

This series makes SPDX and email-address changes to RCU source files.

.h files are supposed to use /* SPDX-License-Identifier: ... */

Documentation/process/license-rules.rst:      C source: // SPDX-License-Identifier: <SPDX License Expression>
Documentation/process/license-rules.rst:      C header: /* SPDX-License-Identifier: <SPDX License Expression> */
Documentation/process/license-rules.rst:      ASM:      /* SPDX-License-Identifier: <SPDX License Expression> */

Ah, fixing, will send out a v2. Thank you!

Thanx, Paul

#31 lore raw

PATCH v2 9/19 rcu/update: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/update.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
kernel/rcu/update.c +2 -15
index 1971869c4072..e3c6395c9b4c 100644
@@ -1,26 +1,13 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update mechanism for mutual exclusion
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2001
  *
  * Authors: Dipankar Sarma <[email protected]>
  *	    Manfred Spraul <[email protected]>
  *
- * Based on the original work by Paul McKenney <[email protected]>
+ * Based on the original work by Paul McKenney <[email protected]>
  * and inputs from Rusty Russell, Andrea Arcangeli and Andi Kleen.
  * Papers:
  * http://www.rdrop.com/users/paulmck/paper/rclockpdcsproof.pdf
Signature · 1 line
2.17.1
#29 lore raw

PATCH v2 7/19 rcu/tiny: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/tiny.c | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
kernel/rcu/tiny.c +2 -15
index 5f5963ba313e..f142c579fda8 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update mechanism for mutual exclusion, the Bloatwatch edition.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2008
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  *
  * For detailed explanation of Read-Copy Update mechanism see -
  *		Documentation/RCU
Signature · 1 line
2.17.1
#26 lore raw

PATCH v2 4/19 rcu/rcutorture: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/rcutorture.c | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)
kernel/rcu/rcutorture.c +3 -16
index f6e85faa4ff4..c47dba261cbe 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update module-based torture test facility
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2005, 2006
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  *	  Josh Triplett <[email protected]>
  *
  * See also:  Documentation/RCU/torture.txt
@@ -61,7 +48,7 @@
 #include "rcu.h"
 
 MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Paul E. McKenney <[email protected]> and Josh Triplett <[email protected]>");
+MODULE_AUTHOR("Paul E. McKenney <[email protected]> and Josh Triplett <[email protected]>");
 
 
 /* Bits for ->extendables field, extendables param, and related definitions. */
Signature · 1 line
2.17.1
#38 lore raw

PATCH v2 16/19 linux/srcu: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

[ paulmck: Update ,h SPDX format per Joe Perches. ]
---
 include/linux/srcu.h     | 17 ++---------------
 include/linux/srcutiny.h | 17 ++---------------
 include/linux/srcutree.h | 17 ++---------------
 3 files changed, 6 insertions(+), 45 deletions(-)
include/linux/srcu.h +2 -15
index c614375cd264..0d5fed02df16 100644
@@ -1,24 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Sleepable Read-Copy Update mechanism for mutual exclusion
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2006
  * Copyright (C) Fujitsu, 2012
  *
- * Author: Paul McKenney <[email protected]>
+ * Author: Paul McKenney <[email protected]>
  *	   Lai Jiangshan <[email protected]>
  *
  * For detailed explanation of Read-Copy Update mechanism see -
include/linux/srcutiny.h +2 -15
index b19216aaaef2..5a5a1941ca15 100644
@@ -1,24 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Sleepable Read-Copy Update mechanism for mutual exclusion,
  *	tiny variant.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2017
  *
- * Author: Paul McKenney <[email protected]>
+ * Author: Paul McKenney <[email protected]>
  */
 
 #ifndef _LINUX_SRCU_TINY_H
include/linux/srcutree.h +2 -15
index 6f292bd3e7db..de7a42116b2e 100644
@@ -1,24 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Sleepable Read-Copy Update mechanism for mutual exclusion,
  *	tree variant.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2017
  *
- * Author: Paul McKenney <[email protected]>
+ * Author: Paul McKenney <[email protected]>
  */
 
 #ifndef _LINUX_SRCU_TREE_H
Signature · 1 line
2.17.1
#27 lore raw

PATCH v2 5/19 rcu/srcu: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/srcutiny.c | 17 ++---------------
 kernel/rcu/srcutree.c | 17 ++---------------
 2 files changed, 4 insertions(+), 30 deletions(-)
kernel/rcu/srcutiny.c +2 -15
index 32dfd6522548..5d4a39a6505a 100644
@@ -1,24 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Sleepable Read-Copy Update mechanism for mutual exclusion,
  *	tiny version for non-preemptible single-CPU use.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2017
  *
- * Author: Paul McKenney <[email protected]>
+ * Author: Paul McKenney <[email protected]>
  */
 
 #include <linux/export.h>
kernel/rcu/srcutree.c +2 -15
index 3600d88d8956..7a5944b42b02 100644
@@ -1,24 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Sleepable Read-Copy Update mechanism for mutual exclusion.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2006
  * Copyright (C) Fujitsu, 2012
  *
- * Author: Paul McKenney <[email protected]>
+ * Author: Paul McKenney <[email protected]>
  *	   Lai Jiangshan <[email protected]>
  *
  * For detailed explanation of Read-Copy Update mechanism see -
Signature · 1 line
2.17.1
#25 lore raw

PATCH v2 3/19 rcu/rcu_segcblist: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/rcu_segcblist.c | 17 ++---------------
 kernel/rcu/rcu_segcblist.h | 17 ++---------------
 2 files changed, 4 insertions(+), 30 deletions(-)
kernel/rcu/rcu_segcblist.c +2 -15
index 5aff271adf1e..9bd5f6023c21 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * RCU segmented callback lists, function definitions
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2017
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  */
 
 #include <linux/types.h>
kernel/rcu/rcu_segcblist.h +2 -15
index 948470cef385..71b64648464e 100644
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * RCU segmented callback lists, internal-to-rcu header file
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2017
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  */
 
 #include <linux/rcu_segcblist.h>
Signature · 1 line
2.17.1
#28 lore raw

PATCH v2 6/19 rcu/sync: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier.

---
 kernel/rcu/sync.c | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
kernel/rcu/sync.c +1 -14
index be10036fa621..a8304d90573f 100644
@@ -1,20 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * RCU-based infrastructure for lightweight reader-writer locking
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (c) 2015, Red Hat, Inc.
  *
  * Author: Oleg Nesterov <[email protected]>
Signature · 1 line
2.17.1
#30 lore raw

PATCH v2 8/19 rcu/tree: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

[ paulmck: Update .h file SPDX comment format per Joe Perches. ]
---
 kernel/rcu/tree.c        | 19 +++----------------
 kernel/rcu/tree.h        | 17 ++---------------
 kernel/rcu/tree_exp.h    | 17 ++---------------
 kernel/rcu/tree_plugin.h | 17 ++---------------
 4 files changed, 9 insertions(+), 61 deletions(-)
kernel/rcu/tree.c +3 -16
index 1c4add096078..3b8e7d56c028 100644
@@ -1,27 +1,14 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update mechanism for mutual exclusion
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2008
  *
  * Authors: Dipankar Sarma <[email protected]>
  *	    Manfred Spraul <[email protected]>
- *	    Paul E. McKenney <[email protected]> Hierarchical version
+ *	    Paul E. McKenney <[email protected]> Hierarchical version
  *
- * Based on the original work by Paul McKenney <[email protected]>
+ * Based on the original work by Paul McKenney <[email protected]>
  * and inputs from Rusty Russell, Andrea Arcangeli and Andi Kleen.
  *
  * For detailed explanation of Read-Copy Update mechanism see -
kernel/rcu/tree.h +2 -15
index 149557b7c39c..f22c21ff3a89 100644
@@ -1,25 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Read-Copy Update mechanism for mutual exclusion (tree-based version)
  * Internal non-public definitions.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2008
  *
  * Author: Ingo Molnar <[email protected]>
- *	   Paul E. McKenney <[email protected]>
+ *	   Paul E. McKenney <[email protected]>
  */
 
 #include <linux/cache.h>
kernel/rcu/tree_exp.h +2 -15
index d882ca0cd01b..66983626d37c 100644
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * RCU expedited grace periods
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2016
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  */
 
 #include <linux/lockdep.h>
kernel/rcu/tree_plugin.h +2 -15
index 8ceed9e25ad5..8f67814a5a85 100644
@@ -1,27 +1,14 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Read-Copy Update mechanism for mutual exclusion (tree-based version)
  * Internal non-public definitions that provide either classic
  * or preemptible semantics.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright Red Hat, 2009
  * Copyright IBM Corporation, 2009
  *
  * Author: Ingo Molnar <[email protected]>
- *	   Paul E. McKenney <[email protected]>
+ *	   Paul E. McKenney <[email protected]>
  */
 
 #include <linux/delay.h>
Signature · 1 line
2.17.1
#22 lore raw

v2 cover SPDX changes for v5.1

In reply to Paul E. McKenney

Hello!

This is v2 of the series that makes SPDX and email-address changes to RCU source files.

Changes since v1:

o Apply SPDX comment format feedback for .h files from Joe Perches.

Thanx, Paul

------------------------------------------------------------------------

 include/linux/rcu_node_tree.h |   17 ++---------------
 include/linux/rcu_segcblist.h |   17 ++---------------
 include/linux/rcu_sync.h      |   15 +--------------
 include/linux/rcupdate.h      |   17 ++---------------
 include/linux/rcutiny.h       |   17 ++---------------
 include/linux/rcutree.h       |   19 +++----------------
 include/linux/srcu.h          |   17 ++---------------
 include/linux/srcutiny.h      |   17 ++---------------
 include/linux/srcutree.h      |   17 ++---------------
 include/linux/torture.h       |   17 ++---------------
 kernel/locking/locktorture.c  |   19 +++----------------
 kernel/rcu/rcu.h              |   17 ++---------------
 kernel/rcu/rcu_segcblist.c    |   17 ++---------------
 kernel/rcu/rcu_segcblist.h    |   17 ++---------------
 kernel/rcu/rcuperf.c          |   19 +++----------------
 kernel/rcu/rcutorture.c       |   19 +++----------------
 kernel/rcu/srcutiny.c         |   17 ++---------------
 kernel/rcu/srcutree.c         |   17 ++---------------
 kernel/rcu/sync.c             |   15 +--------------
 kernel/rcu/tiny.c             |   17 ++---------------
 kernel/rcu/tree.c             |   19 +++----------------
 kernel/rcu/tree.h             |   17 ++---------------
 kernel/rcu/tree_exp.h         |   17 ++---------------
 kernel/rcu/tree_plugin.h      |   17 ++---------------
 kernel/rcu/update.c           |   17 ++---------------
 kernel/torture.c              |   19 +++----------------
 26 files changed, 56 insertions(+), 394 deletions(-)
#36 lore raw

PATCH v2 14/19 linux/rcutiny: Convert to SPDX license identifier

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

[ paulmck: Update .h SPDX format per Joe Perches. ]
---
 include/linux/rcutiny.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
include/linux/rcutiny.h +2 -15
index af65d1f36ddb..8e727f57d814 100644
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Read-Copy Update mechanism for mutual exclusion, the Bloatwatch edition.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2008
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  *
  * For detailed explanation of Read-Copy Update mechanism see -
  *		Documentation/RCU
Signature · 1 line
2.17.1
#41 lore raw

PATCH v2 19/19 locking/locktorture: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/locking/locktorture.c | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)
kernel/locking/locktorture.c +3 -16
index 7d0b0ed74404..d163c5b75d72 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Module-based torture test facility for locking
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2014
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  *          Davidlohr Bueso <[email protected]>
  *	Based on kernel/rcu/torture.c.
  */
@@ -45,7 +32,7 @@
 #include <linux/torture.h>
 
 MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
+MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
 
 torture_param(int, nwriters_stress, -1,
 	     "Number of write-locking stress-test threads");
Signature · 1 line
2.17.1
#40 lore raw

PATCH v2 18/19 linux/torture: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

[ paulmck: Update .h SPDX format per Joe Perches. ]
---
 include/linux/torture.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
include/linux/torture.h +2 -15
index 48fad21109fc..e5167820108a 100644
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Common functions for in-kernel torture tests.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2014
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  */
 
 #ifndef __LINUX_TORTURE_H
Signature · 1 line
2.17.1
#33 lore raw

PATCH v2 11/19 linux/rcupdate: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

[ paulmck: Update .h SPDX format per Joe Perches. ]
---
 include/linux/rcupdate.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
include/linux/rcupdate.h +2 -15
index 0e39e0d2629e..4c82279dd4b7 100644
@@ -1,25 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Read-Copy Update mechanism for mutual exclusion
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2001
  *
  * Author: Dipankar Sarma <[email protected]>
  *
- * Based on the original work by Paul McKenney <[email protected]>
+ * Based on the original work by Paul McKenney <[email protected]>
  * and inputs from Rusty Russell, Andrea Arcangeli and Andi Kleen.
  * Papers:
  * http://www.rdrop.com/users/paulmck/paper/rclockpdcsproof.pdf
Signature · 1 line
2.17.1
#34 lore raw

PATCH v2 12/19 linux/rcu_segcblist: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

[ paulmck: Update .h SPDX format per Joe Perches. ]
---
 include/linux/rcu_segcblist.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
include/linux/rcu_segcblist.h +2 -15
index c3ad00e63556..87404cb015f1 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * RCU segmented callback lists
  *
@@ -5,23 +6,9 @@
  * because the size of the TREE SRCU srcu_struct structure depends
  * on these definitions.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2017
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  */
 
 #ifndef __INCLUDE_LINUX_RCU_SEGCBLIST_H
Signature · 1 line
2.17.1
#32 lore raw

PATCH v2 10/19 linux/rcu_node_tree: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

[ paulmck: Update .h SPDX comment format per Joe Perches. ]
---
 include/linux/rcu_node_tree.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
include/linux/rcu_node_tree.h +2 -15
index 426cee67f0e2..b8e094b125ee 100644
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * RCU node combining tree definitions.  These are used to compute
  * global attributes while avoiding common-case global contention.  A key
@@ -11,23 +12,9 @@
  * because the size of the TREE SRCU srcu_struct structure depends
  * on these definitions.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2017
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  */
 
 #ifndef __LINUX_RCU_NODE_TREE_H
Signature · 1 line
2.17.1
#37 lore raw

PATCH v2 15/19 linux/rcutree: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

[ paulmck: Update .h SPDX format per Joe Perches. ]
---
 include/linux/rcutree.h | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)
include/linux/rcutree.h +3 -16
index 7f83179177d1..735601ac27d3 100644
@@ -1,26 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Read-Copy Update mechanism for mutual exclusion (tree-based version)
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2008
  *
  * Author: Dipankar Sarma <[email protected]>
- *	   Paul E. McKenney <[email protected]> Hierarchical algorithm
+ *	   Paul E. McKenney <[email protected]> Hierarchical algorithm
  *
- * Based on the original work by Paul McKenney <[email protected]>
+ * Based on the original work by Paul McKenney <[email protected]>
  * and inputs from Rusty Russell, Andrea Arcangeli and Andi Kleen.
  *
  * For detailed explanation of Read-Copy Update mechanism see -
Signature · 1 line
2.17.1
#23 lore raw

PATCH v2 1/19 rcu/rcu.h: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/rcu.h | 17 ++---------------
 1 file changed, 2 insertions(+), 15 deletions(-)
kernel/rcu/rcu.h +2 -15
index 75787186bd4f..e672b8f050ac 100644
@@ -1,23 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Read-Copy Update definitions shared among RCU implementations.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright IBM Corporation, 2011
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  */
 
 #ifndef __LINUX_RCU_H
Signature · 1 line
2.17.1
#39 lore raw

PATCH v2 17/19 torture: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/torture.c | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)
kernel/torture.c +3 -16
index bbf6d473e50c..67620e5141d2 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Common functions for in-kernel torture tests.
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2014
  *
- * Author: Paul E. McKenney <[email protected]>
+ * Author: Paul E. McKenney <[email protected]>
  *	Based on kernel/rcu/torture.c.
  */
 
@@ -53,7 +40,7 @@
 #include "rcu/rcu.h"
 
 MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
+MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
 
 static char *torture_type;
 static int verbose;
Signature · 1 line
2.17.1
#35 lore raw

PATCH v2 13/19 linux/rcu_sync: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier.

[ paulmck: Update .h SPDX format per Joe Perches. ]
---
 include/linux/rcu_sync.h | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
include/linux/rcu_sync.h +1 -14
index ece7ed9a4a70..6fc53a1345b3 100644
@@ -1,20 +1,7 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * RCU-based infrastructure for lightweight reader-writer locking
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (c) 2015, Red Hat, Inc.
  *
  * Author: Oleg Nesterov <[email protected]>
Signature · 1 line
2.17.1
#24 lore raw

PATCH v2 2/19 rcu/rcuperf: Convert to SPDX license identifier

In reply to Paul E. McKenney

Replace the license boiler plate with a SPDX license identifier. While in the area, update an email address.

---
 kernel/rcu/rcuperf.c | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)
kernel/rcu/rcuperf.c +3 -16
index b459da70b4fc..83c411cb09bd 100644
@@ -1,23 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Read-Copy Update module-based performance-test facility
  *
- * This program 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; either version 2 of the License, or
- * (at your option) any later version.
- *
- * 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.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, you can access it online at
- * http://www.gnu.org/licenses/gpl-2.0.html.
- *
  * Copyright (C) IBM Corporation, 2015
  *
- * Authors: Paul E. McKenney <[email protected]>
+ * Authors: Paul E. McKenney <[email protected]>
  */
 
 #define pr_fmt(fmt) fmt
@@ -54,7 +41,7 @@
 #include "rcu.h"
 
 MODULE_LICENSE("GPL");
-MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
+MODULE_AUTHOR("Paul E. McKenney <[email protected]>");
 
 #define PERF_FLAG "-perf:"
 #define PERFOUT_STRING(s) \
Signature · 1 line
2.17.1
author Applied
#43 lore raw
Quoted 5 lines · Thomas Gleixner
Quoted 2 lines · Paul E. McKenney

This series makes SPDX and email-address changes to RCU source files.

Applied, thank you!

Quoted 3 lines
Quoted 1 line
 26 files changed, 56 insertions(+), 394 deletions(-)

Nice! Thanks for doing that!

Glad to help! I also intend to queue similar changes in the files in tools/testing/selftests/rcutorture because I need to get rid of the "vnet" in my email address there as well.

Thanx, Paul