summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-02-22 11:03:30 (GMT)
committerScott Wood <scottwood@freescale.com>2013-04-04 22:09:34 (GMT)
commitce9c0cba2799ec2657231ae7b5e86f154b9d2a73 (patch)
tree80eec90b64c3521e40776ff8c29ddfaf355c100d /kernel
parent5a5757b3d4207a77408c336e0bcf4ec29bbafe0b (diff)
downloadlinux-fsl-qoriq-ce9c0cba2799ec2657231ae7b5e86f154b9d2a73.tar.xz
seqlock: Prevent rt starvation
If a low prio writer gets preempted while holding the seqlock write locked, a high prio reader spins forever on RT. To prevent this let the reader grab the spinlock, so it blocks and eventually boosts the writer. This way the writer can proceed and endless spinning is prevented. For seqcount writers we disable preemption over the update code path. Thaanks to Al Viro for distangling some VFS code to make that possible. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Cc: stable-rt@vger.kernel.org
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions