Re: [git pull] scheduler fixes
From: Ingo Molnar
Date: Sun May 11 2008 - 11:20:17 EST
* Matthew Wilcox <matthew@xxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/