diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-03-07 20:51:03 +0100 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-03-24 09:29:29 -0500 |
commit | 6f000c4424ded7d50f216fad731234c4bb2fc618 (patch) | |
tree | a8bdb5087a220ecb941a5c9fc6e3058735c20e84 /kernel/seccomp.c | |
parent | 5026ac5017c92bda63bf485dca16fdfb3926863e (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 'kernel/seccomp.c')
0 files changed, 0 insertions, 0 deletions