diff options
author | Vladimir Oltean <[email protected]> | 2022-01-06 00:11:50 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2022-01-06 12:16:21 +0000 |
commit | 1b26d364e4e9bd6540a8e7bcaf50e7f35041feb5 (patch) | |
tree | 2139f98e543630040123b74a001db02449d3cfc6 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 63cfc65753d604edc6cfe07e6fba2bf8ececb293 (diff) |
net: dsa: warn about dsa_port and dsa_switch bit fields being non atomic
As discussed during review here:
https://patchwork.kernel.org/project/netdevbpf/patch/[email protected]/
we should inform developers about pitfalls of concurrent access to the
boolean properties of dsa_switch and dsa_port, now that they've been
converted to bit fields. No other measure than a comment needs to be
taken, since the code paths that update these bit fields are not
concurrent with each other.
Suggested-by: Florian Fainelli <[email protected]>
Signed-off-by: Vladimir Oltean <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions