Skip to content

x86/mm: INVPCID support

Andy Lutomirski linux-mm lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 3 repliesIn review
  2. v23 patches 8 repliesSuperseded

Changes in v3 from the cover letter

- Add macros for the INVPCID mode numbers.
- Add a changelog message for the chicken bit.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3x86/mm: Add INVPCID helpersarch/x86/include/asm/tlbflush.h+48 -04 replies
2/3x86/mm: Add a noinvpcid option to turn off INVPCIDDocumentation/kernel-parameters.txt arch/x86/kernel/cpu/common.c+18 -00 replies
3/3x86/mm: If INVPCID is available, use it to flush global mappingsarch/x86/include/asm/tlbflush.h+9 -00 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchBorislav PetkovAndy Lutomirski
SeriesR-b
1/3A-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/3] x86/mm: INVPCID support

Boris, I think you already have these prerequisites queued up:

http://lkml.kernel.org/g/[email protected]
http://lkml.kernel.org/g/[email protected]

This is a straightforward speedup on Ivy Bridge and newer, IIRC. (I tested on Skylake. INVPCID is not available on Sandy Bridge. I don't have Ivy Bridge, Haswell or Broadwell to test on, so I could be wrong as to when the feature was introduced.)

I think we should consider these patches separately from the rest of the PCID stuff -- they barely interact, and this part is much simpler and is useful on its own.

Changes from v2:
- Add macros for the INVPCID mode numbers.
- Add a changelog message for the chicken bit.

v1 was exactly identical to patches 2-4 of the PCID RFC series. Andy Lutomirski (3):
x86/mm: Add INVPCID helpers
x86/mm: Add a noinvpcid option to turn off INVPCID x86/mm: If INVPCID is available, use it to flush global mappings

 Documentation/kernel-parameters.txt |  2 ++
 arch/x86/include/asm/tlbflush.h     | 57 +++++++++++++++++++++++++++++++++++++
 arch/x86/kernel/cpu/common.c        | 16 +++++++++++
 3 files changed, 75 insertions(+)
Signature · 7 lines
2.5.0

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>