From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0D21FC77B75 for ; Fri, 19 May 2023 16:22:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230127AbjESQWg (ORCPT ); Fri, 19 May 2023 12:22:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50218 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230144AbjESQWd (ORCPT ); Fri, 19 May 2023 12:22:33 -0400 Received: from out-18.mta0.migadu.com (out-18.mta0.migadu.com [91.218.175.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6E210E5A for ; Fri, 19 May 2023 09:22:09 -0700 (PDT) Date: Fri, 19 May 2023 12:21:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1684513327; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jS7N446BC55zApIMrZSFqvh6pbEWEIcLk2UIU31xdu4=; b=lN2zfw8gNO/OMqfbr0uYHztfhitfdx5e/hNJOHTSoJ9Us95i+ewAfHw6KQ9Q/u9C+HNJ1j VU7xmtRTFb5O8Pl8N2aVNIKousjfCya6jyDU4VX7pipCVR1APNoOVtpRdX7StjFnlZv/nT XXkUhl3F9TViAyUvX7/fb9/hIKHj8Zk= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Mike Rapoport Cc: Song Liu , linux-mm@kvack.org, Andrew Morton , Dave Hansen , Peter Zijlstra , Rick Edgecombe , Thomas Gleixner , Vlastimil Babka , linux-kernel@vger.kernel.org, x86@kernel.org Subject: Re: [RFC PATCH 1/5] mm: intorduce __GFP_UNMAPPED and unmapped_alloc() Message-ID: References: <20230308094106.227365-2-rppt@kernel.org> <20230518152354.GD4967@kernel.org> <20230519082945.GE4967@kernel.org> <20230519161414.GF4967@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230519161414.GF4967@kernel.org> X-Migadu-Flow: FLOW_OUT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, May 19, 2023 at 07:14:14PM +0300, Mike Rapoport wrote: > Unfortunately not because we still need to map the pages in the modules > area which is essentially a subset of vmalloc address space. Why wouldn't we be doing that once per 2 MB page? > > > If I have time (hah! big if :) I'll see if I can cook up a patchset that > > combines our two approaches over the weekend. > > Now there is also an interest about unmapped allocations from KVM folks, so > I might continue pursuing unmapped allocator, probably just without a new > GFP flag and hooks into page allocator. Cool - it does seem like a generally valuable capability :)