Return-Path: Date: Wed, 8 Apr 2020 14:23:56 +0200 From: Christoph Hellwig Subject: Re: [PATCH 17/28] mm: remove the prot argument from vm_map_ram Message-ID: <20200408122356.GA13282@lst.de> References: <20200408115926.1467567-1-hch@lst.de> <20200408115926.1467567-18-hch@lst.de> <20200408122104.GZ20713@hirez.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200408122104.GZ20713@hirez.programming.kicks-ass.net> Sender: owner-linux-mm@kvack.org To: Peter Zijlstra Cc: Christoph Hellwig , Andrew Morton , "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , x86@kernel.org, David Airlie , Daniel Vetter , Laura Abbott , Sumit Semwal , Sakari Ailus , Minchan Kim , Nitin Gupta , Robin Murphy , Christophe Leroy , linuxppc-dev@lists.ozlabs.org, linux-hyperv@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-s390@vger.kernel.org, bpf@vger.kernel.org, linux-kernel@vger.kernel.org List-ID: Message-ID: <20200408122356.1CEwPSqQi_C4ynVKfshyx-uua3ws4tUuCJs-6EBN8Hc@z> 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 :)