aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>2018-02-13 13:53:50 +0000
committerJohn Crispin <john@phrozen.org>2018-02-14 07:54:24 +0100
commit0b4e3b1bed6d0281cdad152724ba9224d5647437 (patch)
tree5e606355218318584ded2902332ee56308180a18 /scripts
parenteb8fbc431879a698b5bd8f3bcb8a057ce01793c0 (diff)
downloadupstream-0b4e3b1bed6d0281cdad152724ba9224d5647437.tar.gz
upstream-0b4e3b1bed6d0281cdad152724ba9224d5647437.tar.bz2
upstream-0b4e3b1bed6d0281cdad152724ba9224d5647437.zip
generic: swconfig: reduce lock duration on sysfs files
sysfs attributes 'port_mask' & 'speed_mask' held locks whilst doing mundane tasks such as sprintf. Refactor code to reduce length of time locks are held unnecessarily. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions