diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-02-22 11:03:30 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-02-13 22:21:03 (GMT) |
commit | d4ac6eac18c848277ba4e553ca51c36216afee98 (patch) | |
tree | 09d4015ec2906f2fc2d7319f1ce727e9adf76e4b /include/drm | |
parent | 9a27bb504194a8f6351513b3153c290c2ec90b09 (diff) | |
download | linux-fsl-qoriq-d4ac6eac18c848277ba4e553ca51c36216afee98.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 'include/drm')
0 files changed, 0 insertions, 0 deletions