Thread (71 messages) 71 messages, 20 authors, 2020-04-16

Re: [PATCH 17/28] mm: remove the prot argument from vm_map_ram

From: Peter Zijlstra <peterz@infradead.org>
Date: 2020-04-08 12:21:40
Also in: bpf, dri-devel, linux-arch, linux-arm-kernel, linux-hyperv, linux-iommu, linux-mm, linux-s390, lkml

On Wed, Apr 08, 2020 at 01:59:15PM +0200, Christoph Hellwig wrote:
This is always GFP_KERNEL - for long term mappings with other properties
vmap should be used.
 PAGE_KERNEL != GFP_KERNEL :-)
-	return vm_map_ram(mock->pages, mock->npages, 0, PAGE_KERNEL);
+	return vm_map_ram(mock->pages, mock->npages, 0);
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help