diff options
author | Peter Xu <peterx@redhat.com> | 2019-06-28 18:59:42 +0800 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2019-07-07 11:50:03 +0200 |
commit | 28ef2db8866495150e4260773fead8313f1a5625 (patch) | |
tree | b5eecff402061ee6fe7cb26b3c9a50543bfc2381 /arch/x86/include | |
parent | dd2cb348613b44f9d948b068775e159aad298599 (diff) |
timer: Document TIMER_PINNED
The flag hints the user that the pinned timers will always be run on a
static CPU (because that should be what "pinned" means...) but that's
not the truth, at least with the current implementation.
For example, currently if a pinned timer is set up but later mod_timer()
upon the pinned timer is invoked, mod_timer() will still try to queue the
timer on the current processor and migrate the timer if necessary.
Document it a bit with the definition of TIMER_PINNED so that all future
users will use it correctly.
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Luiz Capitulino <lcapitulino@redhat.com>
Link: https://lkml.kernel.org/r/20190628105942.14131-1-peterx@redhat.com
Diffstat (limited to 'arch/x86/include')
0 files changed, 0 insertions, 0 deletions