summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorTimur Tabi <timur@codeaurora.org>2016-01-15 14:32:20 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-02-06 22:51:04 -0800
commit2f2fd0894991a04bf3581104d5ea3a8dc9a4f01f (patch)
tree3155722dc4b757a1cb13a34ef1e6c1d31261d2c8 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentb7ed5161f17a39ed09fd799a919b5f6de688251d (diff)
downloadlinux-2f2fd0894991a04bf3581104d5ea3a8dc9a4f01f.tar.gz
linux-2f2fd0894991a04bf3581104d5ea3a8dc9a4f01f.zip
serial: amba-pl011: use cpu_relax when polling registers
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. Signed-off-by: Timur Tabi <timur@codeaurora.org> Reviewed-by: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions