Re: [PATCH v8 2/9] mmap: make mlock_future_check() global

2020-11-17 Thread Mike Rapoport
On Tue, Nov 17, 2020 at 04:09:39PM +0100, David Hildenbrand wrote: > On 15.11.20 09:26, Mike Rapoport wrote: > > On Thu, Nov 12, 2020 at 09:15:18PM +0100, David Hildenbrand wrote: ... > > My thinking was that since secretmem does what mlock() does wrt > > swapability, it should at least obey the

Re: [PATCH v8 2/9] mmap: make mlock_future_check() global

2020-11-17 Thread David Hildenbrand
On 15.11.20 09:26, Mike Rapoport wrote: On Thu, Nov 12, 2020 at 09:15:18PM +0100, David Hildenbrand wrote: Am 12.11.2020 um 20:08 schrieb Mike Rapoport : On Thu, Nov 12, 2020 at 05:22:00PM +0100, David Hildenbrand wrote: On 10.11.20 19:06, Mike Rapoport wrote: On Tue, Nov 10, 2020 at 06:17:

Re: [PATCH v8 2/9] mmap: make mlock_future_check() global

2020-11-15 Thread Mike Rapoport
On Thu, Nov 12, 2020 at 09:15:18PM +0100, David Hildenbrand wrote: > > > Am 12.11.2020 um 20:08 schrieb Mike Rapoport : > > > > On Thu, Nov 12, 2020 at 05:22:00PM +0100, David Hildenbrand wrote: > >>> On 10.11.20 19:06, Mike Rapoport wrote: > >>> On Tue, Nov 10, 2020 at 06:17:26PM +0100, David H

Re: [PATCH v8 2/9] mmap: make mlock_future_check() global

2020-11-12 Thread David Hildenbrand
> Am 12.11.2020 um 20:08 schrieb Mike Rapoport : > > On Thu, Nov 12, 2020 at 05:22:00PM +0100, David Hildenbrand wrote: >>> On 10.11.20 19:06, Mike Rapoport wrote: >>> On Tue, Nov 10, 2020 at 06:17:26PM +0100, David Hildenbrand wrote: On 10.11.20 16:14, Mike Rapoport wrote: > From: Mik

Re: [PATCH v8 2/9] mmap: make mlock_future_check() global

2020-11-12 Thread Mike Rapoport
On Thu, Nov 12, 2020 at 05:22:00PM +0100, David Hildenbrand wrote: > On 10.11.20 19:06, Mike Rapoport wrote: > > On Tue, Nov 10, 2020 at 06:17:26PM +0100, David Hildenbrand wrote: > > > On 10.11.20 16:14, Mike Rapoport wrote: > > > > From: Mike Rapoport > > > > > > > > It will be used by the upco

Re: [PATCH v8 2/9] mmap: make mlock_future_check() global

2020-11-12 Thread David Hildenbrand
On 10.11.20 19:06, Mike Rapoport wrote: On Tue, Nov 10, 2020 at 06:17:26PM +0100, David Hildenbrand wrote: On 10.11.20 16:14, Mike Rapoport wrote: From: Mike Rapoport It will be used by the upcoming secret memory implementation. Signed-off-by: Mike Rapoport --- mm/internal.h | 3 +++ m

Re: [PATCH v8 2/9] mmap: make mlock_future_check() global

2020-11-10 Thread Mike Rapoport
On Tue, Nov 10, 2020 at 06:17:26PM +0100, David Hildenbrand wrote: > On 10.11.20 16:14, Mike Rapoport wrote: > > From: Mike Rapoport > > > > It will be used by the upcoming secret memory implementation. > > > > Signed-off-by: Mike Rapoport > > --- > > mm/internal.h | 3 +++ > > mm/mmap.c

Re: [PATCH v8 2/9] mmap: make mlock_future_check() global

2020-11-10 Thread David Hildenbrand
On 10.11.20 16:14, Mike Rapoport wrote: From: Mike Rapoport It will be used by the upcoming secret memory implementation. Signed-off-by: Mike Rapoport --- mm/internal.h | 3 +++ mm/mmap.c | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/mm/internal.h b/mm/inte

[PATCH v8 2/9] mmap: make mlock_future_check() global

2020-11-10 Thread Mike Rapoport
From: Mike Rapoport It will be used by the upcoming secret memory implementation. Signed-off-by: Mike Rapoport --- mm/internal.h | 3 +++ mm/mmap.c | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/mm/internal.h b/mm/internal.h index c43ccdddb0f6..ae146a260b14 10064