Re: [git pull] scheduler fixes

Ingo Molnar
2008-05-11T15:19:40Z

* Matthew Wilcox <matthew@wil.cx> wrote:

> > exactly what usecase is that? Perhaps it could be converted to an
> > atomic counter + the wait_event() APIs.
>
> Effectively, it's a completion. It just works better with staggered
> wakeups than it does with the naive completion.

So why not transform it to real completions instead? And if our current
'struct completion' abstraction is insufficient for whatever reason, why
not extend that instead?

Ingo