Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-16 Thread Paul E. McKenney
On Thu, Mar 16, 2017 at 09:57:48AM -0700, Paul E. McKenney wrote: > On Thu, Mar 16, 2017 at 04:53:10PM +0100, Peter Zijlstra wrote: > > On Wed, Mar 15, 2017 at 03:58:17PM -0700, Paul E. McKenney wrote: > > > On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > > > > On Thu, Mar 09,

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-16 Thread Paul E. McKenney
On Thu, Mar 16, 2017 at 09:57:48AM -0700, Paul E. McKenney wrote: > On Thu, Mar 16, 2017 at 04:53:10PM +0100, Peter Zijlstra wrote: > > On Wed, Mar 15, 2017 at 03:58:17PM -0700, Paul E. McKenney wrote: > > > On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > > > > On Thu, Mar 09,

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-16 Thread Paul E. McKenney
On Thu, Mar 16, 2017 at 02:00:02PM -0700, Paul E. McKenney wrote: > On Thu, Mar 16, 2017 at 09:57:48AM -0700, Paul E. McKenney wrote: > > On Thu, Mar 16, 2017 at 04:53:10PM +0100, Peter Zijlstra wrote: > > > On Wed, Mar 15, 2017 at 03:58:17PM -0700, Paul E. McKenney wrote: > > > > On Mon, Mar 13,

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-16 Thread Paul E. McKenney
On Thu, Mar 16, 2017 at 02:00:02PM -0700, Paul E. McKenney wrote: > On Thu, Mar 16, 2017 at 09:57:48AM -0700, Paul E. McKenney wrote: > > On Thu, Mar 16, 2017 at 04:53:10PM +0100, Peter Zijlstra wrote: > > > On Wed, Mar 15, 2017 at 03:58:17PM -0700, Paul E. McKenney wrote: > > > > On Mon, Mar 13,

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-16 Thread Paul E. McKenney
On Thu, Mar 16, 2017 at 04:53:10PM +0100, Peter Zijlstra wrote: > On Wed, Mar 15, 2017 at 03:58:17PM -0700, Paul E. McKenney wrote: > > On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > > > On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > > > > And it does pass

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-16 Thread Paul E. McKenney
On Thu, Mar 16, 2017 at 04:53:10PM +0100, Peter Zijlstra wrote: > On Wed, Mar 15, 2017 at 03:58:17PM -0700, Paul E. McKenney wrote: > > On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > > > On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > > > > And it does pass

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-16 Thread Peter Zijlstra
On Wed, Mar 15, 2017 at 03:58:17PM -0700, Paul E. McKenney wrote: > On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > > On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > > > And it does pass light testing. I will hammer it harder this evening. > > > > > > So

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-16 Thread Peter Zijlstra
On Wed, Mar 15, 2017 at 03:58:17PM -0700, Paul E. McKenney wrote: > On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > > On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > > > And it does pass light testing. I will hammer it harder this evening. > > > > > > So

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-15 Thread Paul E. McKenney
On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > > And it does pass light testing. I will hammer it harder this evening. > > > > So please send a formal patch! > > Changed it a bit... > > --- > Subject:

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-15 Thread Paul E. McKenney
On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > > And it does pass light testing. I will hammer it harder this evening. > > > > So please send a formal patch! > > Changed it a bit... > > --- > Subject:

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-14 Thread Paul E. McKenney
On Mon, Mar 13, 2017 at 08:55:21AM -0700, Paul E. McKenney wrote: > On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > > On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > > > And it does pass light testing. I will hammer it harder this evening. > > > > > > So

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-14 Thread Paul E. McKenney
On Mon, Mar 13, 2017 at 08:55:21AM -0700, Paul E. McKenney wrote: > On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > > On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > > > And it does pass light testing. I will hammer it harder this evening. > > > > > > So

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-13 Thread Paul E. McKenney
On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > > And it does pass light testing. I will hammer it harder this evening. > > > > So please send a formal patch! > > Changed it a bit... > > --- > Subject:

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-13 Thread Paul E. McKenney
On Mon, Mar 13, 2017 at 01:46:21PM +0100, Peter Zijlstra wrote: > On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > > And it does pass light testing. I will hammer it harder this evening. > > > > So please send a formal patch! > > Changed it a bit... > > --- > Subject:

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-13 Thread Peter Zijlstra
On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > And it does pass light testing. I will hammer it harder this evening. > > So please send a formal patch! Changed it a bit... --- Subject: sched/clock: Some clear_sched_clock_stable() vs hotplug wobbles Paul reported two

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-13 Thread Peter Zijlstra
On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > And it does pass light testing. I will hammer it harder this evening. > > So please send a formal patch! Changed it a bit... --- Subject: sched/clock: Some clear_sched_clock_stable() vs hotplug wobbles Paul reported two

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-10 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > On Thu, Mar 09, 2017 at 07:31:14AM -0800, Paul E. McKenney wrote: > > On Thu, Mar 09, 2017 at 04:24:20PM +0100, Peter Zijlstra wrote: > > > On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > > > > The v4.11-rc1

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-10 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 10:37:32AM -0800, Paul E. McKenney wrote: > On Thu, Mar 09, 2017 at 07:31:14AM -0800, Paul E. McKenney wrote: > > On Thu, Mar 09, 2017 at 04:24:20PM +0100, Peter Zijlstra wrote: > > > On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > > > > The v4.11-rc1

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 07:31:14AM -0800, Paul E. McKenney wrote: > On Thu, Mar 09, 2017 at 04:24:20PM +0100, Peter Zijlstra wrote: > > On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > > > The v4.11-rc1 kernel emits the following splat in some configurations: > > > > > > [

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 07:31:14AM -0800, Paul E. McKenney wrote: > On Thu, Mar 09, 2017 at 04:24:20PM +0100, Peter Zijlstra wrote: > > On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > > > The v4.11-rc1 kernel emits the following splat in some configurations: > > > > > > [

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 04:24:20PM +0100, Peter Zijlstra wrote: > On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > > The v4.11-rc1 kernel emits the following splat in some configurations: > > > > [ 43.681891] BUG: using smp_processor_id() in preemptible [] > > code:

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-09 Thread Paul E. McKenney
On Thu, Mar 09, 2017 at 04:24:20PM +0100, Peter Zijlstra wrote: > On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > > The v4.11-rc1 kernel emits the following splat in some configurations: > > > > [ 43.681891] BUG: using smp_processor_id() in preemptible [] > > code:

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-09 Thread Peter Zijlstra
On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > The v4.11-rc1 kernel emits the following splat in some configurations: > > [ 43.681891] BUG: using smp_processor_id() in preemptible [] code: > kworker/3:1/49 > [ 43.682511] caller is debug_smp_processor_id+0x17/0x20

Re: [PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-09 Thread Peter Zijlstra
On Wed, Mar 08, 2017 at 01:53:06PM -0800, Paul E. McKenney wrote: > The v4.11-rc1 kernel emits the following splat in some configurations: > > [ 43.681891] BUG: using smp_processor_id() in preemptible [] code: > kworker/3:1/49 > [ 43.682511] caller is debug_smp_processor_id+0x17/0x20

[PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-08 Thread Paul E. McKenney
The v4.11-rc1 kernel emits the following splat in some configurations: [ 43.681891] BUG: using smp_processor_id() in preemptible [] code: kworker/3:1/49 [ 43.682511] caller is debug_smp_processor_id+0x17/0x20 [ 43.682893] CPU: 0 PID: 49 Comm: kworker/3:1 Not tainted 4.11.0-rc1+ #1

[PATCH] clock: Fix smp_processor_id() in preemptible bug

2017-03-08 Thread Paul E. McKenney
The v4.11-rc1 kernel emits the following splat in some configurations: [ 43.681891] BUG: using smp_processor_id() in preemptible [] code: kworker/3:1/49 [ 43.682511] caller is debug_smp_processor_id+0x17/0x20 [ 43.682893] CPU: 0 PID: 49 Comm: kworker/3:1 Not tainted 4.11.0-rc1+ #1