diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-03-07 20:51:03 +0100 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-03-07 16:15:18 -0600 |
commit | b7d98e0dca67caef09caa3a59203f1e60a8af29e (patch) | |
tree | da3097eae920960033c4296dbf4c8a51508271c2 /fs/autofs4/expire.c | |
parent | c8dbd811963f7a164c9cf703b9d6e14ec9425b58 (diff) |
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/autofs4/expire.c')
0 files changed, 0 insertions, 0 deletions