]> rtime.felk.cvut.cz Git - zynq/linux.git/commit
net: Use cpu_chill() instead of cpu_relax()
authorThomas Gleixner <tglx@linutronix.de>
Wed, 7 Mar 2012 20:10:04 +0000 (21:10 +0100)
committerMichal Sojka <sojka@merica.cz>
Sun, 13 Sep 2015 07:47:30 +0000 (09:47 +0200)
commite09029ad5290bc2cdf10de368c5ae216df787017
tree4806564bea3a7b84de10dcaf573e8919255c80e0
parentbb6d8878b989937f7b8c654454f37c67d90ce637
net: Use cpu_chill() instead of cpu_relax()

Retry loops on RT might loop forever when the modifying side was
preempted. Use cpu_chill() instead of cpu_relax() to let the system
make progress.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable-rt@vger.kernel.org
net/packet/af_packet.c
net/rds/ib_rdma.c