Re: [PATCH 7/7] x86,switch_mm: skip atomic operations for init_mm

2018-07-16 Thread Rik van Riel
On Mon, 2018-07-16 at 03:04 +0200, Ingo Molnar wrote: > * Rik van Riel wrote: > > > On Mon, 2018-07-16 at 01:04 +0200, Ingo Molnar wrote: > > > * Rik van Riel wrote: > > > > > > > + /* > > > > +* Stop remote flushes for the previous mm. > > > > +* S

Re: [PATCH 7/7] x86,switch_mm: skip atomic operations for init_mm

2018-07-15 Thread Ingo Molnar
* Rik van Riel wrote: > On Mon, 2018-07-16 at 01:04 +0200, Ingo Molnar wrote: > > * Rik van Riel wrote: > > > > > + /* > > > + * Stop remote flushes for the previous mm. > > > + * Skip the idle task; we never send init_mm TLB > > > flushing IPIs, > > > + * b

Re: [PATCH 7/7] x86,switch_mm: skip atomic operations for init_mm

2018-07-15 Thread Rik van Riel
On Mon, 2018-07-16 at 01:04 +0200, Ingo Molnar wrote: > * Rik van Riel wrote: > > > + /* > > +* Stop remote flushes for the previous mm. > > +* Skip the idle task; we never send init_mm TLB > > flushing IPIs, > > +* but the bitmap manipulation can cau

Re: [PATCH 7/7] x86,switch_mm: skip atomic operations for init_mm

2018-07-15 Thread Ingo Molnar
* Rik van Riel wrote: > + /* > + * Stop remote flushes for the previous mm. > + * Skip the idle task; we never send init_mm TLB flushing IPIs, > + * but the bitmap manipulation can cause cache line contention. > + */ > +