diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-03-07 19:51:03 (GMT) |
---|---|---|
committer | Scott Wood <scottwood@freescale.com> | 2015-02-13 22:20:53 (GMT) |
commit | 76c7dd76777f6714da06b232042166f1e48b54e4 (patch) | |
tree | e20f344ff2ad06788f37643989f18148496bbb5c /fs/stack.c | |
parent | 20389379faa2b8fe4d93902fd7484788bab490fa (diff) | |
download | linux-fsl-qoriq-76c7dd76777f6714da06b232042166f1e48b54e4.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 'fs/stack.c')
0 files changed, 0 insertions, 0 deletions