summaryrefslogtreecommitdiff
path: root/include/linux/seqno-fence.h
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2018-03-28 12:29:26 +0200
committerDaniel Wagner <wagi@monom.org>2018-07-26 06:48:41 +0200
commit7b5dbbf0ca093bc8dca1ae669524aac0fd2ca563 (patch)
tree32e0ed3427cbe59a7827745a02e608029eb83d5f /include/linux/seqno-fence.h
parenta9c964ace7a4866361a3fea6c90c07c9eef515bd (diff)
downloadlinux-rt-7b5dbbf0ca093bc8dca1ae669524aac0fd2ca563.tar.gz
posix-timers: move the rcu head out of the union
On RT the timer can be preempted while running and therefore we wait with timer_wait_for_callback() for the timer to complete (instead of busy looping). The RCU-readlock is held to ensure that this posix timer is not removed while we wait on it. If the timer is removed then it invokes call_rcu() with a pointer that is shared with the hrtimer because it is part of the same union. In order to avoid any possible side effects I am moving the rcu pointer out of the union. Cc: stable-rt@vger.kernel.org Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Daniel Wagner <wagi@monom.org>
Diffstat (limited to 'include/linux/seqno-fence.h')
0 files changed, 0 insertions, 0 deletions