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

Peter Zijlstra peterz at infradead.org
Wed Apr 8 22:21:04 AEST 2020


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);


More information about the Linuxppc-dev mailing list