Re: [RFC v1] sched/completion: convert completions to use simple wait queues
From: Peter Zijlstra
Date: Wed Mar 30 2016 - 11:07:59 EST
On Wed, Mar 30, 2016 at 04:53:05PM +0200, Daniel Wagner wrote:
> From: Daniel Wagner <daniel.wagner@xxxxxxxxxxxx>
>
> Completions have no long lasting callbacks and therefore do not need
> the complex waitqueue variant. Use simple waitqueues which reduces
> the contention on the waitqueue lock.
Changelog really should have talk about the determinism thing. The last
time you posted this the point was raised that we should wake the
highest prio waiter in the defer case, you did not address this.
Also, you make no mention of the reduction of UINT_MAX to USHORT_MAX and
the implications of that.