diff options
author | Johannes Berg <johannes.berg@intel.com> | 2023-09-14 16:45:17 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2023-09-18 10:36:57 +0300 |
commit | 2c3dfba4cf84ac4f306cc6653b37b6dd6859ae9d (patch) | |
tree | d2fef1e758292fcf1a28c9f00aa47908db5d1165 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 6e48ebffc2db5419b3a51cfc509bde442252b356 (diff) | |
download | linux-2c3dfba4cf84ac4f306cc6653b37b6dd6859ae9d.tar.xz |
rfkill: sync before userspace visibility/changes
If userspace quickly opens /dev/rfkill after a new
instance was created, it might see the old state of
the instance from before the sync work runs and may
even _change_ the state, only to have the sync work
change it again.
Fix this by doing the sync inline where needed, not
just for /dev/rfkill but also for sysfs.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions