diff options
| author | Peter Zijlstra <[email protected]> | 2018-12-03 17:03:52 +0000 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2018-12-17 17:54:29 +0000 |
| commit | c38116bb940ae37f51fccd315b420ee5961dcb76 (patch) | |
| tree | d0d2bf0dccb8f6c2a2460b9f9b77d20af5143642 /drivers/pci/controller/dwc/pci-layerscape.c | |
| parent | x86/mm/cpa: Fold cpa_flush_range() and cpa_flush_array() into a single cpa_fl... (diff) | |
| download | kernel-c38116bb940ae37f51fccd315b420ee5961dcb76.tar.gz kernel-c38116bb940ae37f51fccd315b420ee5961dcb76.zip | |
x86/mm/cpa: Better use CLFLUSHOPT
Currently we issue an MFENCE before and after flushing a range. This
means that if we flush a bunch of single page ranges -- like with the
cpa array, we issue a whole bunch of superfluous MFENCEs.
Reorgainze the code a little to avoid this.
[ mingo: capitalize instructions, tweak changelog and comments. ]
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'drivers/pci/controller/dwc/pci-layerscape.c')
0 files changed, 0 insertions, 0 deletions
