Re: [PATCH v4 6/6] mm: secretmem: add ability to reserve memory at boot

2020-09-08 Thread Mike Rapoport
Hi David, On Tue, Sep 08, 2020 at 11:09:19AM +0200, David Hildenbrand wrote: > On 20.08.20 17:52, Mike Rapoport wrote: > > On Wed, Aug 19, 2020 at 07:45:29PM +0200, David Hildenbrand wrote: > >> On 19.08.20 19:33, Mike Rapoport wrote: > >>> On Wed, Aug 19, 2020 at 02:10:43PM +0200, David Hildenbra

Re: [PATCH v4 6/6] mm: secretmem: add ability to reserve memory at boot

2020-09-08 Thread David Hildenbrand
On 20.08.20 17:52, Mike Rapoport wrote: > On Wed, Aug 19, 2020 at 07:45:29PM +0200, David Hildenbrand wrote: >> On 19.08.20 19:33, Mike Rapoport wrote: >>> On Wed, Aug 19, 2020 at 02:10:43PM +0200, David Hildenbrand wrote: On 19.08.20 13:53, Mike Rapoport wrote: > On Wed, Aug 19, 2020 at 1

Re: [PATCH v4 6/6] mm: secretmem: add ability to reserve memory at boot

2020-08-20 Thread Mike Rapoport
On Wed, Aug 19, 2020 at 07:45:29PM +0200, David Hildenbrand wrote: > On 19.08.20 19:33, Mike Rapoport wrote: > > On Wed, Aug 19, 2020 at 02:10:43PM +0200, David Hildenbrand wrote: > >> On 19.08.20 13:53, Mike Rapoport wrote: > >>> On Wed, Aug 19, 2020 at 12:49:05PM +0200, David Hildenbrand wrote: >

Re: [PATCH v4 6/6] mm: secretmem: add ability to reserve memory at boot

2020-08-19 Thread David Hildenbrand
On 19.08.20 19:33, Mike Rapoport wrote: > On Wed, Aug 19, 2020 at 02:10:43PM +0200, David Hildenbrand wrote: >> On 19.08.20 13:53, Mike Rapoport wrote: >>> On Wed, Aug 19, 2020 at 12:49:05PM +0200, David Hildenbrand wrote: On 18.08.20 16:15, Mike Rapoport wrote: > From: Mike Rapoport

Re: [PATCH v4 6/6] mm: secretmem: add ability to reserve memory at boot

2020-08-19 Thread Mike Rapoport
On Wed, Aug 19, 2020 at 02:10:43PM +0200, David Hildenbrand wrote: > On 19.08.20 13:53, Mike Rapoport wrote: > > On Wed, Aug 19, 2020 at 12:49:05PM +0200, David Hildenbrand wrote: > >> On 18.08.20 16:15, Mike Rapoport wrote: > >>> From: Mike Rapoport > >>> > >>> Taking pages out from the direct ma

Re: [PATCH v4 6/6] mm: secretmem: add ability to reserve memory at boot

2020-08-19 Thread David Hildenbrand
On 19.08.20 13:53, Mike Rapoport wrote: > On Wed, Aug 19, 2020 at 12:49:05PM +0200, David Hildenbrand wrote: >> On 18.08.20 16:15, Mike Rapoport wrote: >>> From: Mike Rapoport >>> >>> Taking pages out from the direct map and bringing them back may create >>> undesired fragmentation and usage of th

Re: [PATCH v4 6/6] mm: secretmem: add ability to reserve memory at boot

2020-08-19 Thread Mike Rapoport
On Wed, Aug 19, 2020 at 12:49:05PM +0200, David Hildenbrand wrote: > On 18.08.20 16:15, Mike Rapoport wrote: > > From: Mike Rapoport > > > > Taking pages out from the direct map and bringing them back may create > > undesired fragmentation and usage of the smaller pages in the direct > > mapping

Re: [PATCH v4 6/6] mm: secretmem: add ability to reserve memory at boot

2020-08-19 Thread David Hildenbrand
On 18.08.20 16:15, Mike Rapoport wrote: > From: Mike Rapoport > > Taking pages out from the direct map and bringing them back may create > undesired fragmentation and usage of the smaller pages in the direct > mapping of the physical memory. > > This can be avoided if a significantly large area