Re: [RFC v0 0/3] Simple wait queue support

2015-08-10 Thread Daniel Wagner
Hi Clark, On 08/05/2015 03:30 PM, Daniel Wagner wrote: > It's a while since the last attempt by Paul to get simple wait ready > for mainline [1]. At the last realtime workshop it was discussed how > the swait implementation could be made preempt aware. Peter posted an > untested version of it here

Re: [RFC v0 0/3] Simple wait queue support

2015-08-07 Thread Daniel Wagner
On 08/07/2015 08:42 AM, Daniel Wagner wrote: > On 08/05/2015 03:30 PM, Daniel Wagner wrote: >> My test system didn't crash or showed any obvious defects, so I >> decided to apply some benchmarks utilizing mmtests. I have picked some > > As it turns out, this is not really true. I forgot to enable

Re: [RFC v0 0/3] Simple wait queue support

2015-08-07 Thread Steven Rostedt
On Fri, 7 Aug 2015 11:25:41 +0200 Peter Zijlstra wrote: > > For cwait? That's the complex wait queue (what the current wait queues > > will be called in the future). > > Urgh, I don't think we should go rename that.. that's going to be lots > of pain for no to little gain. I thought we decided

Re: [RFC v0 0/3] Simple wait queue support

2015-08-07 Thread Peter Zijlstra
On Thu, Aug 06, 2015 at 06:14:12PM -0400, Steven Rostedt wrote: > On Thu, 6 Aug 2015 23:36:49 +0200 > Peter Zijlstra wrote: > > > On Thu, Aug 06, 2015 at 03:31:20PM -0400, Steven Rostedt wrote: > > > > 4) poll_wait: currently it and poll_table_entry are both hard coupled > > > >to wait_queue_

Re: [RFC v0 0/3] Simple wait queue support

2015-08-06 Thread Daniel Wagner
On 08/05/2015 03:30 PM, Daniel Wagner wrote: > My test system didn't crash or showed any obvious defects, so I > decided to apply some benchmarks utilizing mmtests. I have picked some As it turns out, this is not really true. I forgot to enable lockdep: [0.053193]

Re: [RFC v0 0/3] Simple wait queue support

2015-08-06 Thread Steven Rostedt
On Thu, 6 Aug 2015 23:36:49 +0200 Peter Zijlstra wrote: > On Thu, Aug 06, 2015 at 03:31:20PM -0400, Steven Rostedt wrote: > > > 4) poll_wait: currently it and poll_table_entry are both hard coupled > > >to wait_queue_head_t -- so any users of poll_wait are not eligible > > >for conversion

Re: [RFC v0 0/3] Simple wait queue support

2015-08-06 Thread Peter Zijlstra
On Thu, Aug 06, 2015 at 03:31:20PM -0400, Steven Rostedt wrote: > > 4) poll_wait: currently it and poll_table_entry are both hard coupled > >to wait_queue_head_t -- so any users of poll_wait are not eligible > >for conversion to simple wait. (I just happened to notice that > >recently.)

Re: [RFC v0 0/3] Simple wait queue support

2015-08-06 Thread Steven Rostedt
On Thu, 6 Aug 2015 15:22:45 -0400 Paul Gortmaker wrote: > [[RFC v0 0/3] Simple wait queue support] On 05/08/2015 (Wed 15:30) Daniel > Wagner wrote: > > > Hi, > > > > It's a while since the last attempt by Paul to get simple wait ready > > for mainline [1]

Re: [RFC v0 0/3] Simple wait queue support

2015-08-06 Thread Paul Gortmaker
[[RFC v0 0/3] Simple wait queue support] On 05/08/2015 (Wed 15:30) Daniel Wagner wrote: > Hi, > > It's a while since the last attempt by Paul to get simple wait ready > for mainline [1]. At the last realtime workshop it was discussed how > the swait implementation could b

[RFC v0 0/3] Simple wait queue support

2015-08-05 Thread Daniel Wagner
Hi, It's a while since the last attempt by Paul to get simple wait ready for mainline [1]. At the last realtime workshop it was discussed how the swait implementation could be made preempt aware. Peter posted an untested version of it here [2]. In order to test it, I used Paul's two patches which