Re: [RFC v0 0/3] Simple wait queue support
From: Peter Zijlstra <peterz@infradead.org>
Date: 2015-08-07 09:25:59
Also in:
lkml
From: Peter Zijlstra <peterz@infradead.org>
Date: 2015-08-07 09:25:59
Also in:
lkml
On Thu, Aug 06, 2015 at 06:14:12PM -0400, Steven Rostedt wrote:
On Thu, 6 Aug 2015 23:36:49 +0200 Peter Zijlstra [off-list ref] wrote:quoted
On Thu, Aug 06, 2015 at 03:31:20PM -0400, Steven Rostedt wrote:quoted
quoted
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.) A quick grep shows ~500 poll_wait users.Looks like a good candidate to test the cwait on :-)Poll uses custom wake functions, which disqualifies them on the spot.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.