rcu.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/38] Replace deprecated CPU-hotplug
@ 2021-08-03 14:15 Sebastian Andrzej Siewior
  2021-08-03 14:16 ` [PATCH 31/38] rcu: Replace deprecated CPU-hotplug functions Sebastian Andrzej Siewior
  2021-08-03 15:30 ` [PATCH 00/38] Replace deprecated CPU-hotplug Hans de Goede
  0 siblings, 2 replies; 7+ messages in thread
From: Sebastian Andrzej Siewior @ 2021-08-03 14:15 UTC (permalink / raw)
  To: linux-kernel
  Cc: tglx, Peter Zijlstra, Alexander Shishkin, Amit Kucheria,
	Andrew Morton, Andy Lutomirski, Arnaldo Carvalho de Melo,
	Arnd Bergmann, Benjamin Herrenschmidt, Ben Segall,
	Borislav Petkov, cgroups, Christian Borntraeger, coresight,
	Daniel Bristot de Oliveira, Daniel Jordan, Daniel Lezcano,
	Dave Hansen, Davidlohr Bueso, David S. Miller, Dietmar Eggemann,
	Gonglei, Greg Kroah-Hartman, Guenter Roeck, Hans de Goede,
	Heiko Carstens, Herbert Xu, H. Peter Anvin, Ingo Molnar,
	Ingo Molnar, Jakub Kicinski, Jason Wang, Jean Delvare,
	Jiri Kosina, Jiri Olsa, Joe Lawrence, Joel Fernandes,
	Johannes Weiner, John Stultz, Jonathan Corbet, Josh Poimboeuf,
	Josh Triplett, Julian Wiedmann, Juri Lelli, Karol Herbst,
	Karsten Graul, kvm-ppc, Lai Jiangshan, Len Brown, Len Brown,
	Leo Yan, linux-acpi, linux-arm-kernel, linux-crypto, linux-doc,
	linux-edac, linux-hwmon, linux-mips, linux-mm, linux-pm,
	linuxppc-dev, linux-raid, linux-s390, live-patching, Mark Gross,
	Mark Rutland, Mathieu Desnoyers, Mathieu Poirier, Mel Gorman,
	Michael Ellerman, Michael S. Tsirkin, Mike Leach, Mike Travis,
	Miroslav Benes, Namhyung Kim, netdev, nouveau, Paul E. McKenney,
	Paul Mackerras, Pavel Machek, Pekka Paalanen, Petr Mladek,
	platform-driver-x86, Rafael J. Wysocki, rcu, Robin Holt,
	Song Liu, Srinivas Pandruvada, Steffen Klassert, Stephen Boyd,
	Steven Rostedt, Steve Wahl, Stuart Hayes, Suzuki K Poulose,
	Tejun Heo, Thomas Bogendoerfer, Tony Luck, Vasily Gorbik,
	Vincent Guittot, Viresh Kumar, virtualization, x86, Zefan Li,
	Zhang Rui

This is a tree wide replacement of the deprecated CPU hotplug functions
which are only wrappers around the actual functions.

Each patch is independent and can be picked up by the relevant maintainer.

Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Amit Kucheria <amitk@kernel.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ben Segall <bsegall@google.com>
Cc: Borislav Petkov <bp@alien8.de>
Cc: cgroups@vger.kernel.org
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: coresight@lists.linaro.org
Cc: Daniel Bristot de Oliveira <bristot@redhat.com>
Cc: Daniel Jordan <daniel.m.jordan@oracle.com>
Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
Cc: Gonglei <arei.gonglei@huawei.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Guenter Roeck <linux@roeck-us.net>
Cc: Hans de Goede <hdegoede@redhat.com>
Cc: Heiko Carstens <hca@linux.ibm.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Jean Delvare <jdelvare@suse.com>
Cc: Jiri Kosina <jikos@kernel.org>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Joe Lawrence <joe.lawrence@redhat.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Cc: John Stultz <john.stultz@linaro.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Josh Poimboeuf <jpoimboe@redhat.com>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Julian Wiedmann <jwi@linux.ibm.com>
Cc: Juri Lelli <juri.lelli@redhat.com>
Cc: Karol Herbst <karolherbst@gmail.com>
Cc: Karsten Graul <kgraul@linux.ibm.com>
Cc: kvm-ppc@vger.kernel.org
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Len Brown <lenb@kernel.org>
Cc: Len Brown <len.brown@intel.com>
Cc: Leo Yan <leo.yan@linaro.org>
Cc: linux-acpi@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-crypto@vger.kernel.org
Cc: linux-doc@vger.kernel.org
Cc: linux-edac@vger.kernel.org
Cc: linux-hwmon@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: linux-mips@vger.kernel.org
Cc: linux-mm@kvack.org
Cc: linux-pm@vger.kernel.org
Cc: linuxppc-dev@lists.ozlabs.org
Cc: linux-raid@vger.kernel.org
Cc: linux-s390@vger.kernel.org
Cc: live-patching@vger.kernel.org
Cc: Mark Gross <mgross@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
Cc: Mel Gorman <mgorman@suse.de>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Cc: Mike Leach <mike.leach@linaro.org>
Cc: Mike Travis <mike.travis@hpe.com>
Cc: Miroslav Benes <mbenes@suse.cz>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: netdev@vger.kernel.org
Cc: nouveau@lists.freedesktop.org
Cc: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Pekka Paalanen <ppaalanen@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Petr Mladek <pmladek@suse.com>
Cc: platform-driver-x86@vger.kernel.org
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: rcu@vger.kernel.org
Cc: Robin Holt <robinmholt@gmail.com>
Cc: Song Liu <song@kernel.org>
Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Stephen Boyd <sboyd@kernel.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Steve Wahl <steve.wahl@hpe.com>
Cc: Stuart Hayes <stuart.w.hayes@gmail.com>
Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Vincent Guittot <vincent.guittot@linaro.org>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: virtualization@lists.linux-foundation.org
Cc: x86@kernel.org
Cc: Zefan Li <lizefan.x@bytedance.com>
Cc: Zhang Rui <rui.zhang@intel.com>

Sebastian


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [PATCH 31/38] rcu: Replace deprecated CPU-hotplug functions.
  2021-08-03 14:15 [PATCH 00/38] Replace deprecated CPU-hotplug Sebastian Andrzej Siewior
@ 2021-08-03 14:16 ` Sebastian Andrzej Siewior
  2021-08-03 16:00   ` Paul E. McKenney
  2021-08-03 15:30 ` [PATCH 00/38] Replace deprecated CPU-hotplug Hans de Goede
  1 sibling, 1 reply; 7+ messages in thread
From: Sebastian Andrzej Siewior @ 2021-08-03 14:16 UTC (permalink / raw)
  To: linux-kernel
  Cc: tglx, Peter Zijlstra, Sebastian Andrzej Siewior,
	Paul E. McKenney, Josh Triplett, Steven Rostedt,
	Mathieu Desnoyers, Lai Jiangshan, Joel Fernandes, rcu

The functions get_online_cpus() and put_online_cpus() have been
deprecated during the CPU hotplug rework. They map directly to
cpus_read_lock() and cpus_read_unlock().

Replace deprecated CPU-hotplug functions with the official version.
The behavior remains unchanged.

Cc: "Paul E. McKenney" <paulmck@kernel.org>
Cc: Josh Triplett <josh@joshtriplett.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Cc: Joel Fernandes <joel@joelfernandes.org>
Cc: rcu@vger.kernel.org
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
---
 kernel/rcu/tree.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
index 51f24ecd94b26..f116ce58f4e68 100644
--- a/kernel/rcu/tree.c
+++ b/kernel/rcu/tree.c
@@ -4050,7 +4050,7 @@ void rcu_barrier(void)
 	 */
 	init_completion(&rcu_state.barrier_completion);
 	atomic_set(&rcu_state.barrier_cpu_count, 2);
-	get_online_cpus();
+	cpus_read_lock();
 
 	/*
 	 * Force each CPU with callbacks to register a new callback.
@@ -4081,7 +4081,7 @@ void rcu_barrier(void)
 					  rcu_state.barrier_sequence);
 		}
 	}
-	put_online_cpus();
+	cpus_read_unlock();
 
 	/*
 	 * Now that we have an rcu_barrier_callback() callback on each
-- 
2.32.0


^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [PATCH 00/38] Replace deprecated CPU-hotplug
  2021-08-03 14:15 [PATCH 00/38] Replace deprecated CPU-hotplug Sebastian Andrzej Siewior
  2021-08-03 14:16 ` [PATCH 31/38] rcu: Replace deprecated CPU-hotplug functions Sebastian Andrzej Siewior
@ 2021-08-03 15:30 ` Hans de Goede
  2021-08-03 16:10   ` Sebastian Andrzej Siewior
  1 sibling, 1 reply; 7+ messages in thread
From: Hans de Goede @ 2021-08-03 15:30 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior, linux-kernel
  Cc: tglx, Peter Zijlstra, Alexander Shishkin, Amit Kucheria,
	Andrew Morton, Andy Lutomirski, Arnaldo Carvalho de Melo,
	Arnd Bergmann, Benjamin Herrenschmidt, Ben Segall,
	Borislav Petkov, cgroups, Christian Borntraeger, coresight,
	Daniel Bristot de Oliveira, Daniel Jordan, Daniel Lezcano,
	Dave Hansen, Davidlohr Bueso, David S. Miller, Dietmar Eggemann,
	Gonglei, Greg Kroah-Hartman, Guenter Roeck, Heiko Carstens,
	Herbert Xu, H. Peter Anvin, Ingo Molnar, Ingo Molnar,
	Jakub Kicinski, Jason Wang, Jean Delvare, Jiri Kosina, Jiri Olsa,
	Joe Lawrence, Joel Fernandes, Johannes Weiner, John Stultz,
	Jonathan Corbet, Josh Poimboeuf, Josh Triplett, Julian Wiedmann,
	Juri Lelli, Karol Herbst, Karsten Graul, kvm-ppc, Lai Jiangshan,
	Len Brown, Len Brown, Leo Yan, linux-acpi, linux-arm-kernel,
	linux-crypto, linux-doc, linux-edac, linux-hwmon, linux-mips,
	linux-mm, linux-pm, linuxppc-dev, linux-raid, linux-s390,
	live-patching, Mark Gross, Mark Rutland, Mathieu Desnoyers,
	Mathieu Poirier, Mel Gorman, Michael Ellerman,
	Michael S. Tsirkin, Mike Leach, Mike Travis, Miroslav Benes,
	Namhyung Kim, netdev, nouveau, Paul E. McKenney, Paul Mackerras,
	Pavel Machek, Pekka Paalanen, Petr Mladek, platform-driver-x86,
	Rafael J. Wysocki, rcu, virtualization, x86

Hi Sebastien,

On 8/3/21 4:15 PM, Sebastian Andrzej Siewior wrote:
> This is a tree wide replacement of the deprecated CPU hotplug functions
> which are only wrappers around the actual functions.
> 
> Each patch is independent and can be picked up by the relevant maintainer.

Ok; and I take it that then also is the plan for merging these ?

FWIW I'm fine with the drivers/platform/x86 patch going upstream
through some other tree if its easier to keep the set together ...

Regards,

Hans



> 
> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
> Cc: Amit Kucheria <amitk@kernel.org>
> Cc: Andrew Morton <akpm@linux-foundation.org>
> Cc: Andy Lutomirski <luto@kernel.org>
> Cc: Arnaldo Carvalho de Melo <acme@kernel.org>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
> Cc: Ben Segall <bsegall@google.com>
> Cc: Borislav Petkov <bp@alien8.de>
> Cc: cgroups@vger.kernel.org
> Cc: Christian Borntraeger <borntraeger@de.ibm.com>
> Cc: coresight@lists.linaro.org
> Cc: Daniel Bristot de Oliveira <bristot@redhat.com>
> Cc: Daniel Jordan <daniel.m.jordan@oracle.com>
> Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
> Cc: Dave Hansen <dave.hansen@linux.intel.com>
> Cc: Davidlohr Bueso <dave@stgolabs.net>
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Dietmar Eggemann <dietmar.eggemann@arm.com>
> Cc: Gonglei <arei.gonglei@huawei.com>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
> Cc: Guenter Roeck <linux@roeck-us.net>
> Cc: Hans de Goede <hdegoede@redhat.com>
> Cc: Heiko Carstens <hca@linux.ibm.com>
> Cc: Herbert Xu <herbert@gondor.apana.org.au>
> Cc: "H. Peter Anvin" <hpa@zytor.com>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Ingo Molnar <mingo@redhat.com>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Jason Wang <jasowang@redhat.com>
> Cc: Jean Delvare <jdelvare@suse.com>
> Cc: Jiri Kosina <jikos@kernel.org>
> Cc: Jiri Olsa <jolsa@redhat.com>
> Cc: Joe Lawrence <joe.lawrence@redhat.com>
> Cc: Joel Fernandes <joel@joelfernandes.org>
> Cc: Johannes Weiner <hannes@cmpxchg.org>
> Cc: John Stultz <john.stultz@linaro.org>
> Cc: Jonathan Corbet <corbet@lwn.net>
> Cc: Josh Poimboeuf <jpoimboe@redhat.com>
> Cc: Josh Triplett <josh@joshtriplett.org>
> Cc: Julian Wiedmann <jwi@linux.ibm.com>
> Cc: Juri Lelli <juri.lelli@redhat.com>
> Cc: Karol Herbst <karolherbst@gmail.com>
> Cc: Karsten Graul <kgraul@linux.ibm.com>
> Cc: kvm-ppc@vger.kernel.org
> Cc: Lai Jiangshan <jiangshanlai@gmail.com>
> Cc: Len Brown <lenb@kernel.org>
> Cc: Len Brown <len.brown@intel.com>
> Cc: Leo Yan <leo.yan@linaro.org>
> Cc: linux-acpi@vger.kernel.org
> Cc: linux-arm-kernel@lists.infradead.org
> Cc: linux-crypto@vger.kernel.org
> Cc: linux-doc@vger.kernel.org
> Cc: linux-edac@vger.kernel.org
> Cc: linux-hwmon@vger.kernel.org
> Cc: linux-kernel@vger.kernel.org
> Cc: linux-mips@vger.kernel.org
> Cc: linux-mm@kvack.org
> Cc: linux-pm@vger.kernel.org
> Cc: linuxppc-dev@lists.ozlabs.org
> Cc: linux-raid@vger.kernel.org
> Cc: linux-s390@vger.kernel.org
> Cc: live-patching@vger.kernel.org
> Cc: Mark Gross <mgross@linux.intel.com>
> Cc: Mark Rutland <mark.rutland@arm.com>
> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
> Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
> Cc: Mel Gorman <mgorman@suse.de>
> Cc: Michael Ellerman <mpe@ellerman.id.au>
> Cc: "Michael S. Tsirkin" <mst@redhat.com>
> Cc: Mike Leach <mike.leach@linaro.org>
> Cc: Mike Travis <mike.travis@hpe.com>
> Cc: Miroslav Benes <mbenes@suse.cz>
> Cc: Namhyung Kim <namhyung@kernel.org>
> Cc: netdev@vger.kernel.org
> Cc: nouveau@lists.freedesktop.org
> Cc: "Paul E. McKenney" <paulmck@kernel.org>
> Cc: Paul Mackerras <paulus@samba.org>
> Cc: Pavel Machek <pavel@ucw.cz>
> Cc: Pekka Paalanen <ppaalanen@gmail.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Petr Mladek <pmladek@suse.com>
> Cc: platform-driver-x86@vger.kernel.org
> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
> Cc: rcu@vger.kernel.org
> Cc: Robin Holt <robinmholt@gmail.com>
> Cc: Song Liu <song@kernel.org>
> Cc: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
> Cc: Steffen Klassert <steffen.klassert@secunet.com>
> Cc: Stephen Boyd <sboyd@kernel.org>
> Cc: Steven Rostedt <rostedt@goodmis.org>
> Cc: Steve Wahl <steve.wahl@hpe.com>
> Cc: Stuart Hayes <stuart.w.hayes@gmail.com>
> Cc: Suzuki K Poulose <suzuki.poulose@arm.com>
> Cc: Tejun Heo <tj@kernel.org>
> Cc: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
> Cc: Thomas Gleixner <tglx@linutronix.de>
> Cc: Tony Luck <tony.luck@intel.com>
> Cc: Vasily Gorbik <gor@linux.ibm.com>
> Cc: Vincent Guittot <vincent.guittot@linaro.org>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: virtualization@lists.linux-foundation.org
> Cc: x86@kernel.org
> Cc: Zefan Li <lizefan.x@bytedance.com>
> Cc: Zhang Rui <rui.zhang@intel.com>
> 
> Sebastian
> 


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 31/38] rcu: Replace deprecated CPU-hotplug functions.
  2021-08-03 14:16 ` [PATCH 31/38] rcu: Replace deprecated CPU-hotplug functions Sebastian Andrzej Siewior
@ 2021-08-03 16:00   ` Paul E. McKenney
  2021-08-10 12:42     ` Thomas Gleixner
  0 siblings, 1 reply; 7+ messages in thread
From: Paul E. McKenney @ 2021-08-03 16:00 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior
  Cc: linux-kernel, tglx, Peter Zijlstra, Josh Triplett,
	Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan, Joel Fernandes,
	rcu

On Tue, Aug 03, 2021 at 04:16:14PM +0200, Sebastian Andrzej Siewior wrote:
> The functions get_online_cpus() and put_online_cpus() have been
> deprecated during the CPU hotplug rework. They map directly to
> cpus_read_lock() and cpus_read_unlock().
> 
> Replace deprecated CPU-hotplug functions with the official version.
> The behavior remains unchanged.
> 
> Cc: "Paul E. McKenney" <paulmck@kernel.org>
> Cc: Josh Triplett <josh@joshtriplett.org>
> Cc: Steven Rostedt <rostedt@goodmis.org>
> Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
> Cc: Lai Jiangshan <jiangshanlai@gmail.com>
> Cc: Joel Fernandes <joel@joelfernandes.org>
> Cc: rcu@vger.kernel.org
> Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>

I have queued this one and 35/38 (rcutorture) for v5.16.  If you would
prefer to send them some other route, please let me know and:

Acked-by: Paul E. McKenney <paulmck@kernel.org>

> ---
>  kernel/rcu/tree.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/kernel/rcu/tree.c b/kernel/rcu/tree.c
> index 51f24ecd94b26..f116ce58f4e68 100644
> --- a/kernel/rcu/tree.c
> +++ b/kernel/rcu/tree.c
> @@ -4050,7 +4050,7 @@ void rcu_barrier(void)
>  	 */
>  	init_completion(&rcu_state.barrier_completion);
>  	atomic_set(&rcu_state.barrier_cpu_count, 2);
> -	get_online_cpus();
> +	cpus_read_lock();
>  
>  	/*
>  	 * Force each CPU with callbacks to register a new callback.
> @@ -4081,7 +4081,7 @@ void rcu_barrier(void)
>  					  rcu_state.barrier_sequence);
>  		}
>  	}
> -	put_online_cpus();
> +	cpus_read_unlock();
>  
>  	/*
>  	 * Now that we have an rcu_barrier_callback() callback on each
> -- 
> 2.32.0
> 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 00/38] Replace deprecated CPU-hotplug
  2021-08-03 15:30 ` [PATCH 00/38] Replace deprecated CPU-hotplug Hans de Goede
@ 2021-08-03 16:10   ` Sebastian Andrzej Siewior
  0 siblings, 0 replies; 7+ messages in thread
From: Sebastian Andrzej Siewior @ 2021-08-03 16:10 UTC (permalink / raw)
  To: Hans de Goede
  Cc: linux-kernel, tglx, Peter Zijlstra, Alexander Shishkin,
	Amit Kucheria, Andrew Morton, Andy Lutomirski,
	Arnaldo Carvalho de Melo, Arnd Bergmann, Benjamin Herrenschmidt,
	Ben Segall, Borislav Petkov, cgroups, Christian Borntraeger,
	coresight, Daniel Bristot de Oliveira, Daniel Jordan,
	Daniel Lezcano, Dave Hansen, Davidlohr Bueso, David S. Miller,
	Dietmar Eggemann, Gonglei, Greg Kroah-Hartman, Guenter Roeck,
	Heiko Carstens, Herbert Xu, H. Peter Anvin, Ingo Molnar,
	Ingo Molnar, Jakub Kicinski, Jason Wang, Jean Delvare,
	Jiri Kosina, Jiri Olsa, Joe Lawrence, Joel Fernandes,
	Johannes Weiner, John Stultz, Jonathan Corbet, Josh Poimboeuf,
	Josh Triplett, Julian Wiedmann, Juri Lelli, Karol Herbst,
	Karsten Graul, kvm-ppc, Lai Jiangshan, Len Brown, Len Brown,
	Leo Yan, linux-acpi, linux-arm-kernel, linux-crypto, linux-doc,
	linux-edac, linux-hwmon, linux-mips, linux-mm, linux-pm,
	linuxppc-dev, linux-raid, linux-s390, live-patching, Mark Gross,
	Mark Rutland, Mathieu Desnoyers, Mathieu Poirier, Mel Gorman,
	Michael Ellerman, Michael S. Tsirkin, Mike Leach, Mike Travis,
	Miroslav Benes, Namhyung Kim, netdev, nouveau, Paul E. McKenney,
	Paul Mackerras, Pavel Machek, Pekka Paalanen, Petr Mladek,
	platform-driver-x86, Rafael J. Wysocki, rcu, virtualization, x86

On 2021-08-03 17:30:40 [+0200], Hans de Goede wrote:
> Hi Sebastien,
Hi Hans,

> On 8/3/21 4:15 PM, Sebastian Andrzej Siewior wrote:
> > This is a tree wide replacement of the deprecated CPU hotplug functions
> > which are only wrappers around the actual functions.
> > 
> > Each patch is independent and can be picked up by the relevant maintainer.
> 
> Ok; and I take it that then also is the plan for merging these ?
> 
> FWIW I'm fine with the drivers/platform/x86 patch going upstream
> through some other tree if its easier to keep the set together ...

There is no need to keep that set together since each patch is
independent. Please merge it through your tree.

> Regards,
> 
> Hans

Sebastian

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 31/38] rcu: Replace deprecated CPU-hotplug functions.
  2021-08-03 16:00   ` Paul E. McKenney
@ 2021-08-10 12:42     ` Thomas Gleixner
  2021-08-10 18:20       ` Paul E. McKenney
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Gleixner @ 2021-08-10 12:42 UTC (permalink / raw)
  To: paulmck, Sebastian Andrzej Siewior
  Cc: linux-kernel, Peter Zijlstra, Josh Triplett, Steven Rostedt,
	Mathieu Desnoyers, Lai Jiangshan, Joel Fernandes, rcu

On Tue, Aug 03 2021 at 09:00, Paul E. McKenney wrote:
> On Tue, Aug 03, 2021 at 04:16:14PM +0200, Sebastian Andrzej Siewior wrote:
>> The functions get_online_cpus() and put_online_cpus() have been
>> deprecated during the CPU hotplug rework. They map directly to
>> cpus_read_lock() and cpus_read_unlock().
>> 
>> Replace deprecated CPU-hotplug functions with the official version.
>> The behavior remains unchanged.
>> 
> I have queued this one and 35/38 (rcutorture) for v5.16.  If you would
> prefer to send them some other route, please let me know and:

5.15 would be appreciated so we can get rid of the old interface around
rc1.

Thanks,

        tglx

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [PATCH 31/38] rcu: Replace deprecated CPU-hotplug functions.
  2021-08-10 12:42     ` Thomas Gleixner
@ 2021-08-10 18:20       ` Paul E. McKenney
  0 siblings, 0 replies; 7+ messages in thread
From: Paul E. McKenney @ 2021-08-10 18:20 UTC (permalink / raw)
  To: Thomas Gleixner
  Cc: Sebastian Andrzej Siewior, linux-kernel, Peter Zijlstra,
	Josh Triplett, Steven Rostedt, Mathieu Desnoyers, Lai Jiangshan,
	Joel Fernandes, rcu

On Tue, Aug 10, 2021 at 02:42:09PM +0200, Thomas Gleixner wrote:
> On Tue, Aug 03 2021 at 09:00, Paul E. McKenney wrote:
> > On Tue, Aug 03, 2021 at 04:16:14PM +0200, Sebastian Andrzej Siewior wrote:
> >> The functions get_online_cpus() and put_online_cpus() have been
> >> deprecated during the CPU hotplug rework. They map directly to
> >> cpus_read_lock() and cpus_read_unlock().
> >> 
> >> Replace deprecated CPU-hotplug functions with the official version.
> >> The behavior remains unchanged.
> >> 
> > I have queued this one and 35/38 (rcutorture) for v5.16.  If you would
> > prefer to send them some other route, please let me know and:
> 
> 5.15 would be appreciated so we can get rid of the old interface around
> rc1.

Fair enough!  I have rebased to pull those two patches into my v5.15 pile.

							Thanx, Paul

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-08-10 18:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-03 14:15 [PATCH 00/38] Replace deprecated CPU-hotplug Sebastian Andrzej Siewior
2021-08-03 14:16 ` [PATCH 31/38] rcu: Replace deprecated CPU-hotplug functions Sebastian Andrzej Siewior
2021-08-03 16:00   ` Paul E. McKenney
2021-08-10 12:42     ` Thomas Gleixner
2021-08-10 18:20       ` Paul E. McKenney
2021-08-03 15:30 ` [PATCH 00/38] Replace deprecated CPU-hotplug Hans de Goede
2021-08-03 16:10   ` Sebastian Andrzej Siewior

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).