Thread (7 messages) 7 messages, 4 authors, 2015-12-13
STALE3851d REVIEWED: 1 (0M)

[PATCH 1/2] serial: amba-pl011: use cpu_relax when polling registers

From: Peter Hurley <hidden>
Date: 2015-11-06 01:14:23
Also in: linux-serial

On 11/03/2015 10:01 AM, Timur Tabi wrote:
Busy loops that poll on a register should call cpu_relax().  On some
architectures, it can lower CPU power consumption or yield to a
hyperthreaded twin processor.  It also serves as a compiler barrier,
so it can replace barrier() calls.
Reviewed-by: Peter Hurley <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help