Feb. 14, 2012
4:06 p.m.
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