Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2733072rwd; Fri, 19 May 2023 09:27:01 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7xWUVkIQLQlgpzxEyEPcio3ZClNxyciw4mP8nAtj5OD4xJaZLkOCEfSQuQPGGQcWZY/i+g X-Received: by 2002:a17:902:e889:b0:1ac:753a:7933 with SMTP id w9-20020a170902e88900b001ac753a7933mr3581216plg.39.1684513621177; Fri, 19 May 2023 09:27:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684513621; cv=none; d=google.com; s=arc-20160816; b=k5ve9EvjSwuor3FIoqJhW0T9YT4pmKQWLG4gD2KjE4QGg9WWZMAyuwZdUiUre/gpBC wk805mVUQcHaojEpBy8g6GWsz43ycMR4jxmziQ6n5rNQEbz0dV61r3twaunZtaoUSXsf hSuP0Tlex+2nGY9CSlfGTnlyYk5+RGMd6wVXkDiXlGcKxGP5L3Vfocl1INyUTo3hHO4M 16IA/DC88Jer7RSjlH1+EWp7YImDkbRRsz/a3GagG+FcSEhN/IADDIJN6uLqJYHHkqx/ D6clkX9X153VRYoSwPaxWF7XjCQtyn3FZnCj5js/baSBRHfdIBNiuMr/v4Mwb66aTlJg J3sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=jS7N446BC55zApIMrZSFqvh6pbEWEIcLk2UIU31xdu4=; b=KflXkVJPrN3UKd/gl+i/GPXACl97/KxzlLII2SCHAbzPqlYcK9kwz6vwf3nUGgRRth abvyAhq8SSsQQUMEdpmYFh6TcjxfLxMwBsaJjbTwpOF872w6echxJ4NP84NrYH4PXxtT ZQATgSEANlhe4iGoLp1O1gQfBAJDx8ePXf8yQCmcnxrZYYn4OUpiZn6lqG4BAhYJXWnR ME7vxb36fLWoE1XXQU1wmTptnaNA7WgVFHDrJJz8mTvMdp/xFQtJ7EPQm06Q80slvHCK qWyC8PIezduV3Wc4/D7YymgBSqOZFKUSVZvaoyA5aWSRKPdkHS1tBB63miO+oZZkgK6E 5WmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=lN2zfw8g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c10-20020a17090ab28a00b00247ad6e4188si1945079pjr.51.2023.05.19.09.26.48; Fri, 19 May 2023 09:27:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=lN2zfw8g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230282AbjESQWf (ORCPT + 99 others); Fri, 19 May 2023 12:22:35 -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 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net 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 :)