Messages in this thread | | | Date | Sat, 26 Jun 2010 00:29:53 +0200 | From | Andi Kleen <> | Subject | Re: [RFC][PATCH] irq_work -v2 |
| |
> 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.
| |