diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-03-07 19:51:03 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2014-04-10 00:19:44 (GMT) |
commit | dfb845d5e9b283cf0c189d6f289722f5b67ddd1a (patch) | |
tree | eb1f4cd18235efc7c51a82004673408bad7453c8 /kernel/hrtimer.c | |
parent | a98f37c17e021ac4bf1bfa589a40a32ffa117a03 (diff) | |
download | linux-fsl-qoriq-dfb845d5e9b283cf0c189d6f289722f5b67ddd1a.tar.xz |
rt: Introduce cpu_chill()
Retry loops on RT might loop forever when the modifying side was
preempted. Add cpu_chill() to replace cpu_relax(). cpu_chill()
defaults to cpu_relax() for non RT. On RT it puts the looping task to
sleep for a tick so the preempted task can make progress.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable-rt@vger.kernel.org
Diffstat (limited to 'kernel/hrtimer.c')
0 files changed, 0 insertions, 0 deletions