summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2012-03-07 20:51:03 +0100
committerClark Williams <williams@redhat.com>2012-04-10 16:41:07 -0500
commitf16e2a70d6b09add4156f9ec850597efd00b21fd (patch)
tree600d67ab1afe11e3380226b22756cbb9fb14948e /net/unix/af_unix.c
parentf5e3d5c4f8c6716c43235fc9f5eed7929ff270ae (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