Re: [PATCH] sched: allow preempt notifiers to self-unregister.

From: Avi Kivity
Date: Sun Dec 18 2011 - 04:11:04 EST


On 12/16/2011 06:15 PM, Pierre Habouzit wrote:
> As a background, this need is because I have some kind of module code
> that uses this facility to evaluate how many of a group of threads are
> concurrently running (to regulate a pool of threads).
>

That's what's cmwq is supposed to be doing (and that too should be using
preempt notifiers, IMO).


--
error compiling committee.c: too many arguments to function

--
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/