diff options
author | Yishai Hadas <[email protected]> | 2020-03-18 12:03:23 +0200 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-03-24 20:22:21 -0300 |
commit | 1f3db161881b7e21efb149e0ae8152b79a571a8f (patch) | |
tree | 6a304e77741d8df8d388ba8437a2ccb844b20df9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 38dcb35048fdc9b11530b23c092b250b2e8135a1 (diff) |
IB/mlx5: Generally use the WC auto detection test result
Now that we have direct and reliable detection of WC support by the
system, use is broadly. The only case we have to worry about is when the
WC autodetector cannot run.
For this fringe case generally assume that that WC is available, except in
the well defined case of no PAT support on x86 which is tested by calling
arch_can_pci_mmap_wc().
If WC is wrongly assumed to be available then it causes a small
performance hit on paths in userspace that are tuned to the assumption
that WC is available. There is no functional loss.
It is very unlikely that any platforms exist that lack WC and also care
about the micro optimization of WC in the fringe case where autodetection
does not work.
By removing the fairly bogus CONFIG tests this makes WC work broadly on
all arches and all platforms.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Yishai Hadas <[email protected]>
Reviewed-by: Michael Guralnik <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions