diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2012-03-07 20:51:03 +0100 |
---|---|---|
committer | Clark Williams <williams@redhat.com> | 2012-04-10 16:41:07 -0500 |
commit | f16e2a70d6b09add4156f9ec850597efd00b21fd (patch) | |
tree | 600d67ab1afe11e3380226b22756cbb9fb14948e /net/unix/af_unix.c | |
parent | f5e3d5c4f8c6716c43235fc9f5eed7929ff270ae (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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions