Thread (3 messages) flat view 3 messages, 2 authors, 2012-02-20

linux hrtimer affinity

From: Vimal <hidden>
Date: 2012-02-14 16:06:19

Hi all,

Is there a way to set the affinity of hrtimer callback, so that it
executes on a particular logical CPU?

The reason is that I have a hrtimer callback that executes a tasklet.
 If the timer callback executes on a different CPU than the one it was
enqueued in, then the tasklet is scheduled on the same CPU, which
makes it difficult to reason serialising locks to per-CPU data
structures.

Any ideas?

Thanks,
-- 
Vimal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help