Re: [RFC][PATCH] irq_work -v2

Andi Kleen
2010-06-25T22:29:59Z

> perf has two different reasons to for the callback, what I do is set the
> state and enqueue, if its already enqueued the pending callback will
> handle both.
>
> Its cheaper than having two callback structures per event.

Again it sounds like you just need a bit...
>
> We can expose the claim/enqueue thing separately so that users can
> choose.

Yes it would be good to separate that, because I doubt other users
will require similar hacks.

-Andi

--
ak@linux.intel.com -- Speaking for myself only.