diff options
author | Jiang Biao <[email protected]> | 2020-08-24 13:20:25 +0800 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2020-09-17 12:21:46 -0500 |
commit | 2ce02a864ac1a2bf99baeb20d38100d2cc413ac2 (patch) | |
tree | c7215e9b59586a26ff2b58f754a0fbfe0af87363 /tools/lib/api/fs/tracing_path.c | |
parent | d24e124577cdb47824c6665af16250807c2daa89 (diff) |
PCI: Add schedule point in pci_read_config()
The PCI sysfs "config" file allows large reads, and the resulting PCI
config reads can take several milliseconds to complete. Testing with the
cyclictest [1] benchmark showed 5ms+ latencies.
Add a schedule point in pci_read_config() to reduce the maximum latency.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/clrkwllms/rt-tests.git/
[bhelgaas: commit log]
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Bin Lai <[email protected]>
Signed-off-by: Jiang Biao <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions