Linus Torvalds writes: (Summary)
Even with PCID, a global TLB entry for the shared pages would make
sense, because it's now just *one* entry in the TLB rather that "one
per PCID and one for the kernel mapping".
per PCID and one for the kernel mapping".
So even if in theory the lifetime of the TLB entry is the same, when you have capacity misses it most definitely isn't.
you have capacity misses it most definitely isn't.
And for process tear-down and build-up the per-PCID TLB entry does nothing at all.
per PCID and one for the kernel mapping".
So even if in theory the lifetime of the TLB entry is the same, when you have capacity misses it most definitely isn't.
you have capacity misses it most definitely isn't.
And for process tear-down and build-up the per-PCID TLB entry does nothing at all.