Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2014-01-25 Thread Nicholas Mc Guire
On Fri, 24 Jan 2014, Sebastian Andrzej Siewior wrote: > * Sebastian Andrzej Siewior | 2013-12-15 16:15:11 [+0100]: > > >* Steven Rostedt | 2013-12-06 10:25:32 [-0500]: > > > >> > >>Let me analyze the original code first. I'll poke peterz and tglx too > >>to make sure this modification is OK. > >

Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2014-01-25 Thread Nicholas Mc Guire
On Fri, 24 Jan 2014, Sebastian Andrzej Siewior wrote: * Sebastian Andrzej Siewior | 2013-12-15 16:15:11 [+0100]: * Steven Rostedt | 2013-12-06 10:25:32 [-0500]: Let me analyze the original code first. I'll poke peterz and tglx too to make sure this modification is OK. I took 1/3. I

Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2014-01-24 Thread Sebastian Andrzej Siewior
* Sebastian Andrzej Siewior | 2013-12-15 16:15:11 [+0100]: >* Steven Rostedt | 2013-12-06 10:25:32 [-0500]: > >> >>Let me analyze the original code first. I'll poke peterz and tglx too >>to make sure this modification is OK. > >I took 1/3. I postpone the remaining two until I hear something from

Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2014-01-24 Thread Sebastian Andrzej Siewior
* Sebastian Andrzej Siewior | 2013-12-15 16:15:11 [+0100]: * Steven Rostedt | 2013-12-06 10:25:32 [-0500]: Let me analyze the original code first. I'll poke peterz and tglx too to make sure this modification is OK. I took 1/3. I postpone the remaining two until I hear something from you. Any

Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2013-12-15 Thread Sebastian Andrzej Siewior
* Steven Rostedt | 2013-12-06 10:25:32 [-0500]: > >Let me analyze the original code first. I'll poke peterz and tglx too >to make sure this modification is OK. I took 1/3. I postpone the remaining two until I hear something from you. >Thanks, > >-- Steve Sebastian -- To unsubscribe from this

Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2013-12-15 Thread Sebastian Andrzej Siewior
* Steven Rostedt | 2013-12-06 10:25:32 [-0500]: Let me analyze the original code first. I'll poke peterz and tglx too to make sure this modification is OK. I took 1/3. I postpone the remaining two until I hear something from you. Thanks, -- Steve Sebastian -- To unsubscribe from this list:

Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2013-12-06 Thread Steven Rostedt
On Fri, 6 Dec 2013 03:33:34 +0100 Nicholas Mc Guire wrote: > > > - migrate_disable(); > > > if (rt_mutex_owner(lock) != current) { > > > ret = rt_mutex_trylock(lock); > > > - if (ret) > > > + if (ret) { > > > + migrate_disable(); > > >

Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2013-12-06 Thread Steven Rostedt
On Fri, 6 Dec 2013 03:33:34 +0100 Nicholas Mc Guire der.h...@hofr.at wrote: - migrate_disable(); if (rt_mutex_owner(lock) != current) { ret = rt_mutex_trylock(lock); - if (ret) + if (ret) { + migrate_disable();

Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2013-12-05 Thread Nicholas Mc Guire
On Thu, 05 Dec 2013, Steven Rostedt wrote: > On Fri, 6 Dec 2013 00:44:49 +0100 > Nicholas Mc Guire wrote: > > > > > > > pushdown of migrate_disable/enable from read_*lock* to the rt_read_*lock* > > api level > > > > general mapping to mutexes: > > > > read_*lock* > > `-> rt_read_*lock*

Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2013-12-05 Thread Steven Rostedt
On Fri, 6 Dec 2013 00:44:49 +0100 Nicholas Mc Guire wrote: > > > pushdown of migrate_disable/enable from read_*lock* to the rt_read_*lock* > api level > > general mapping to mutexes: > > read_*lock* > `-> rt_read_*lock* > `-> __spin_lock (the sleeping spin locks) >

Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2013-12-05 Thread Steven Rostedt
On Fri, 6 Dec 2013 00:44:49 +0100 Nicholas Mc Guire der.h...@hofr.at wrote: pushdown of migrate_disable/enable from read_*lock* to the rt_read_*lock* api level general mapping to mutexes: read_*lock* `- rt_read_*lock* `- __spin_lock (the sleeping spin locks)

Re: [PATCH 2/3] read_lock migrate_disable pushdown to rt_read_lock

2013-12-05 Thread Nicholas Mc Guire
On Thu, 05 Dec 2013, Steven Rostedt wrote: On Fri, 6 Dec 2013 00:44:49 +0100 Nicholas Mc Guire der.h...@hofr.at wrote: pushdown of migrate_disable/enable from read_*lock* to the rt_read_*lock* api level general mapping to mutexes: read_*lock* `- rt_read_*lock*