diff options
author | Jiang Biao <benbjiang@tencent.com> | 2020-08-24 07:20:25 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2020-09-17 19:21:46 +0200 |
commit | 2ce02a864ac1a2bf99baeb20d38100d2cc413ac2 (patch) | |
tree | c7215e9b59586a26ff2b58f754a0fbfe0af87363 /drivers/acpi/pci_mcfg.c | |
parent | PCI/ACPI: Tone down missing MCFG message (diff) | |
download | linux-2ce02a864ac1a2bf99baeb20d38100d2cc413ac2.tar.xz linux-2ce02a864ac1a2bf99baeb20d38100d2cc413ac2.zip |
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/20200824052025.48362-1-benbjiang@tencent.com
Reported-by: Bin Lai <robinlai@tencent.com>
Signed-off-by: Jiang Biao <benbjiang@tencent.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/acpi/pci_mcfg.c')
0 files changed, 0 insertions, 0 deletions