Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1650571

timer_create affinity

From Nicolae Rosia <nicolae.rosia.oss@gmail.com>
Newsgroups linux.kernel
Subject timer_create affinity
Date 2017-05-25 17:00 +0200
Message-ID <tL2p4-13a-17@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello,

I'm working on a real-time application using POSIX timers running on a
QorIQ PowerPC platform with a 4.1 PREEMPT RT kernel and I'm trying to
understand whether the following can happen:
1. A thread with a core affinity #0 creates a timer which will invoke
a callback.
2. The kernel will setup the timer using a local timer running on a
different core, core #1
3. The ISR will fire, and could be dispatched by core #2
4. The scheduler will run the callback on core #3.

Is there a way to make sure this whole chain will be executed on a
single core, the core of the caller?

Best regards,
Nicolae Rosia

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

timer_create affinity Nicolae Rosia <nicolae.rosia.oss@gmail.com> - 2017-05-25 17:00 +0200
  Re: timer_create affinity John Ogness <john.ogness@linutronix.de> - 2017-05-26 09:20 +0200

csiph-web