Re: [PATCH] rcu: declare rcu_data variables in the section they are defined in

2015-05-04 Thread Paul E. McKenney
On Tue, May 05, 2015 at 08:40:55AM +0800, Nicolas Iooss wrote: > On 05/05/2015 04:33 AM, Paul E. McKenney wrote: > > On Sun, May 03, 2015 at 12:27:02PM -0700, Josh Triplett wrote: > >> On Sun, May 03, 2015 at 05:57:53PM +0800, Nicolas Iooss wrote: > >>> Commit 11bbb235c26f ("rcu: Use

Re: [PATCH] rcu: declare rcu_data variables in the section they are defined in

2015-05-04 Thread Nicolas Iooss
On 05/05/2015 04:33 AM, Paul E. McKenney wrote: > On Sun, May 03, 2015 at 12:27:02PM -0700, Josh Triplett wrote: >> On Sun, May 03, 2015 at 05:57:53PM +0800, Nicolas Iooss wrote: >>> Commit 11bbb235c26f ("rcu: Use DEFINE_PER_CPU_SHARED_ALIGNED for >>> rcu_data") replaced DEFINE_PER_CPU by

Re: [PATCH] rcu: declare rcu_data variables in the section they are defined in

2015-05-04 Thread Paul E. McKenney
On Sun, May 03, 2015 at 12:27:02PM -0700, Josh Triplett wrote: > On Sun, May 03, 2015 at 05:57:53PM +0800, Nicolas Iooss wrote: > > Commit 11bbb235c26f ("rcu: Use DEFINE_PER_CPU_SHARED_ALIGNED for > > rcu_data") replaced DEFINE_PER_CPU by DEFINE_PER_CPU_SHARED_ALIGNED in > > the definition of

Re: [PATCH] rcu: declare rcu_data variables in the section they are defined in

2015-05-04 Thread Nicolas Iooss
On 05/05/2015 04:33 AM, Paul E. McKenney wrote: On Sun, May 03, 2015 at 12:27:02PM -0700, Josh Triplett wrote: On Sun, May 03, 2015 at 05:57:53PM +0800, Nicolas Iooss wrote: Commit 11bbb235c26f (rcu: Use DEFINE_PER_CPU_SHARED_ALIGNED for rcu_data) replaced DEFINE_PER_CPU by

Re: [PATCH] rcu: declare rcu_data variables in the section they are defined in

2015-05-04 Thread Paul E. McKenney
On Sun, May 03, 2015 at 12:27:02PM -0700, Josh Triplett wrote: On Sun, May 03, 2015 at 05:57:53PM +0800, Nicolas Iooss wrote: Commit 11bbb235c26f (rcu: Use DEFINE_PER_CPU_SHARED_ALIGNED for rcu_data) replaced DEFINE_PER_CPU by DEFINE_PER_CPU_SHARED_ALIGNED in the definition of rcu_sched and

Re: [PATCH] rcu: declare rcu_data variables in the section they are defined in

2015-05-04 Thread Paul E. McKenney
On Tue, May 05, 2015 at 08:40:55AM +0800, Nicolas Iooss wrote: On 05/05/2015 04:33 AM, Paul E. McKenney wrote: On Sun, May 03, 2015 at 12:27:02PM -0700, Josh Triplett wrote: On Sun, May 03, 2015 at 05:57:53PM +0800, Nicolas Iooss wrote: Commit 11bbb235c26f (rcu: Use

Re: [PATCH] rcu: declare rcu_data variables in the section they are defined in

2015-05-03 Thread Josh Triplett
On Sun, May 03, 2015 at 05:57:53PM +0800, Nicolas Iooss wrote: > Commit 11bbb235c26f ("rcu: Use DEFINE_PER_CPU_SHARED_ALIGNED for > rcu_data") replaced DEFINE_PER_CPU by DEFINE_PER_CPU_SHARED_ALIGNED in > the definition of rcu_sched and rcu_bh without updating > kernel/rcu/tree.h. > > This makes

[PATCH] rcu: declare rcu_data variables in the section they are defined in

2015-05-03 Thread Nicolas Iooss
Commit 11bbb235c26f ("rcu: Use DEFINE_PER_CPU_SHARED_ALIGNED for rcu_data") replaced DEFINE_PER_CPU by DEFINE_PER_CPU_SHARED_ALIGNED in the definition of rcu_sched and rcu_bh without updating kernel/rcu/tree.h. This makes clang report a section mismatch (-Wsection warning) when building LLVMLinux

[PATCH] rcu: declare rcu_data variables in the section they are defined in

2015-05-03 Thread Nicolas Iooss
Commit 11bbb235c26f (rcu: Use DEFINE_PER_CPU_SHARED_ALIGNED for rcu_data) replaced DEFINE_PER_CPU by DEFINE_PER_CPU_SHARED_ALIGNED in the definition of rcu_sched and rcu_bh without updating kernel/rcu/tree.h. This makes clang report a section mismatch (-Wsection warning) when building LLVMLinux

Re: [PATCH] rcu: declare rcu_data variables in the section they are defined in

2015-05-03 Thread Josh Triplett
On Sun, May 03, 2015 at 05:57:53PM +0800, Nicolas Iooss wrote: Commit 11bbb235c26f (rcu: Use DEFINE_PER_CPU_SHARED_ALIGNED for rcu_data) replaced DEFINE_PER_CPU by DEFINE_PER_CPU_SHARED_ALIGNED in the definition of rcu_sched and rcu_bh without updating kernel/rcu/tree.h. This makes clang