Re: [PATCH v3 2/7] mm/vmalloc: Track which page-table levels were modified

2020-05-25 Thread Joerg Roedel
On Mon, May 18, 2020 at 03:18:28PM -0700, Andrew Morton wrote: > It would be nice to get all this (ie, linux-next) retested before we > send it upstream, please. Tested these patches as in next-20200522, with three 2, 3, and 4-level paging. On 4-level (aka 64-bit) I also re-ran the Stevens

Re: [PATCH v3 2/7] mm/vmalloc: Track which page-table levels were modified

2020-05-19 Thread Joerg Roedel
On Mon, May 18, 2020 at 03:18:28PM -0700, Andrew Morton wrote: > On Sat, 16 May 2020 14:56:41 +0200 Joerg Roedel wrote: > --- a/mm/vmalloc.c~mm-vmalloc-track-which-page-table-levels-were-modified-fix > +++ a/mm/vmalloc.c > @@ -309,6 +309,9 @@ int map_kernel_range_noflush(unsigned lo >

Re: [PATCH v3 2/7] mm/vmalloc: Track which page-table levels were modified

2020-05-18 Thread Andrew Morton
On Sat, 16 May 2020 14:56:41 +0200 Joerg Roedel wrote: > Hi Andrew, > > On Fri, May 15, 2020 at 01:01:42PM -0700, Andrew Morton wrote: > > On Fri, 15 May 2020 16:00:18 +0200 Joerg Roedel wrote: > > Lots of collisions here with Christoph's "decruft the vmalloc API" series > >

Re: [PATCH v3 2/7] mm/vmalloc: Track which page-table levels were modified

2020-05-16 Thread Joerg Roedel
Hi Andrew, On Fri, May 15, 2020 at 01:01:42PM -0700, Andrew Morton wrote: > On Fri, 15 May 2020 16:00:18 +0200 Joerg Roedel wrote: > Lots of collisions here with Christoph's "decruft the vmalloc API" series > (http://lkml.kernel.org/r/20200414131348.444715-1-...@lst.de). > > I attempted to fix

Re: [PATCH v3 2/7] mm/vmalloc: Track which page-table levels were modified

2020-05-15 Thread Andrew Morton
On Fri, 15 May 2020 16:00:18 +0200 Joerg Roedel wrote: > Track at which levels in the page-table entries were modified by > vmap/vunmap. After the page-table has been modified, use that > information do decide whether the new arch_sync_kernel_mappings() > needs to be called. Lots of collisions

[PATCH v3 2/7] mm/vmalloc: Track which page-table levels were modified

2020-05-15 Thread Joerg Roedel
From: Joerg Roedel Track at which levels in the page-table entries were modified by vmap/vunmap. After the page-table has been modified, use that information do decide whether the new arch_sync_kernel_mappings() needs to be called. Signed-off-by: Joerg Roedel Acked-by: Andy Lutomirski ---