Re: [RFC PATCH v2 0/3] x86/mm/tlb: Defer TLB flushes with PTI

2019-09-03 Thread Nadav Amit
> On Sep 3, 2019, at 8:17 AM, Dave Hansen wrote: > > On 8/23/19 3:52 PM, Nadav Amit wrote: >> n_pages concurrent +deferred-pti change >> --- -- - -- >> 121191986-6.7%

Re: [RFC PATCH v2 0/3] x86/mm/tlb: Defer TLB flushes with PTI

2019-09-03 Thread Dave Hansen
On 8/23/19 3:52 PM, Nadav Amit wrote: > n_pages concurrent +deferred-pti change > --- -- - -- > 121191986-6.7% > 10 67915417

Re: [RFC PATCH v2 0/3] x86/mm/tlb: Defer TLB flushes with PTI

2019-08-27 Thread Dave Hansen
On 8/23/19 3:52 PM, Nadav Amit wrote: > n_pages concurrent +deferred-pti change > --- -- - -- > 121191986-6.7% Is this implying that a single-page INVPCID is 133

[RFC PATCH v2 0/3] x86/mm/tlb: Defer TLB flushes with PTI

2019-08-24 Thread Nadav Amit
INVPCID is considerably slower than INVLPG of a single PTE, but it is currently used to flush PTEs in the user page-table when PTI is used. Instead, it is possible to defer TLB flushes until after the user page-tables are loaded. Preventing speculation over the TLB flushes should keep the whole