aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPeter Oberparleiter <[email protected]>2013-11-26 14:59:21 +0100
committerMartin Schwidefsky <[email protected]>2013-12-16 14:37:42 +0100
commit47d30674d6c79197fa7bfb0d09d5857f61e0277b (patch)
tree97e100ae386becbf98bdf892ca1cc137ea90f634 /tools/perf/scripts/python
parent175746eb06a8925274558793814d8c802dc48276 (diff)
s390/css: Prevent unnecessary allocation in subchannel loop
Subchannel looping function for_each_subchannel_staged() allocates a subchannel-ID-bitmap to efficiently iterate over the list of known and unknown subchannels. Since this function is also used to iterate over known-subchannels only, optimize that case by not requiring the ID-bitmap allocation and falling back to simple bus_for_each_dev() looping. Signed-off-by: Peter Oberparleiter <[email protected]> Reviewed-by: Sebastian Ott <[email protected]> Signed-off-by: Martin Schwidefsky <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions