diff options
author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2018-02-13 13:53:50 +0000 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-02-14 07:54:24 +0100 |
commit | 0b4e3b1bed6d0281cdad152724ba9224d5647437 (patch) | |
tree | 5e606355218318584ded2902332ee56308180a18 /scripts | |
parent | eb8fbc431879a698b5bd8f3bcb8a057ce01793c0 (diff) | |
download | upstream-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