Re: [RFC PATCH 2/3] mm/map_contig: Use pre-allocated pages for VM_CONTIG mappings

2017-10-12 Thread Anshuman Khandual
On 10/12/2017 07:16 AM, Mike Kravetz wrote: > When populating mappings backed by contiguous memory allocations > (VM_CONTIG), use the preallocated pages instead of allocating new. > > Signed-off-by: Mike Kravetz > --- > mm/memory.c | 13 - > 1 file changed,

Re: [RFC PATCH 2/3] mm/map_contig: Use pre-allocated pages for VM_CONTIG mappings

2017-10-12 Thread Anshuman Khandual
On 10/12/2017 07:16 AM, Mike Kravetz wrote: > When populating mappings backed by contiguous memory allocations > (VM_CONTIG), use the preallocated pages instead of allocating new. > > Signed-off-by: Mike Kravetz > --- > mm/memory.c | 13 - > 1 file changed, 12 insertions(+), 1

[RFC PATCH 2/3] mm/map_contig: Use pre-allocated pages for VM_CONTIG mappings

2017-10-11 Thread Mike Kravetz
When populating mappings backed by contiguous memory allocations (VM_CONTIG), use the preallocated pages instead of allocating new. Signed-off-by: Mike Kravetz --- mm/memory.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mm/memory.c

[RFC PATCH 2/3] mm/map_contig: Use pre-allocated pages for VM_CONTIG mappings

2017-10-11 Thread Mike Kravetz
When populating mappings backed by contiguous memory allocations (VM_CONTIG), use the preallocated pages instead of allocating new. Signed-off-by: Mike Kravetz --- mm/memory.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/mm/memory.c b/mm/memory.c index