Re: [PATCH 10/10] mm,sched: conditionally skip lazy TLB mm refcounting

2018-07-29 Thread Rik van Riel
On Sun, 2018-07-29 at 08:29 -0700, Andy Lutomirski wrote: > > On Jul 29, 2018, at 5:11 AM, Rik van Riel wrote: > > > > > On Sat, 2018-07-28 at 21:21 -0700, Andy Lutomirski wrote: > > > On Sat, Jul 28, 2018 at 2:53 PM, Rik van Riel > > > wrote: > > > > Conditionally skip lazy TLB mm refcounting.

Re: [PATCH 10/10] mm,sched: conditionally skip lazy TLB mm refcounting

2018-07-29 Thread Andy Lutomirski
> On Jul 29, 2018, at 5:11 AM, Rik van Riel wrote: > >> On Sat, 2018-07-28 at 21:21 -0700, Andy Lutomirski wrote: >> On Sat, Jul 28, 2018 at 2:53 PM, Rik van Riel >> wrote: >>> Conditionally skip lazy TLB mm refcounting. When an architecture >>> has >>> CONFIG_ARCH_NO_ACTIVE_MM_REFCOUNTING en

Re: [PATCH 10/10] mm,sched: conditionally skip lazy TLB mm refcounting

2018-07-29 Thread Rik van Riel
On Sat, 2018-07-28 at 21:21 -0700, Andy Lutomirski wrote: > On Sat, Jul 28, 2018 at 2:53 PM, Rik van Riel > wrote: > > Conditionally skip lazy TLB mm refcounting. When an architecture > > has > > CONFIG_ARCH_NO_ACTIVE_MM_REFCOUNTING enabled, an mm that is used in > > lazy TLB mode anywhere will ge

Re: [PATCH 10/10] mm,sched: conditionally skip lazy TLB mm refcounting

2018-07-28 Thread Andy Lutomirski
On Sat, Jul 28, 2018 at 2:53 PM, Rik van Riel wrote: > Conditionally skip lazy TLB mm refcounting. When an architecture has > CONFIG_ARCH_NO_ACTIVE_MM_REFCOUNTING enabled, an mm that is used in > lazy TLB mode anywhere will get shot down from exit_mmap, and there > in no need to incur the cache li