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

From: Christoph Hellwig
Date: Wed Apr 08 2020 - 08:24:07 EST


On Wed, Apr 08, 2020 at 02:21:04PM +0200, Peter Zijlstra wrote:
> 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 :-)

Yep. The compiler complained about that a few times :)