Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp456823rwd; Thu, 1 Jun 2023 02:37:50 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7YyESzoJOorAs02GogpLSfgM3PxFtmW88N5O4o7U6D84OwMqZ5fsxgHAOxguIvyn1tScff X-Received: by 2002:a05:6a20:3c91:b0:ee:f290:5b5e with SMTP id b17-20020a056a203c9100b000eef2905b5emr6739623pzj.43.1685612270515; Thu, 01 Jun 2023 02:37:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685612270; cv=none; d=google.com; s=arc-20160816; b=oHX4UbG0NBasI9l0STqQt6EFvDpOn4/Wo4pB6HcvqVHUaEw/5xtDUKS06l36OJrbo+ Q9GogxQfp5Q+2FD3SeQDHelYYPmIzLhnA0/QgvEJuxuViiPVaMFQylfu1QCj316NHaqw sg8qntKgUTN3lisJPOMNzJLpiLWEQGWfVm7r6Qlzmxc6O/ynPUVYvQkkKtvxnBQIOpM7 J5M8uuQiV3zGo7P3Bbc6rVm/QXUnM+SIHlK98Jkxy4ULNdajMsyVKUBj6cPYwxE55aTV Y8/WhdDnezril8nU6ad+r/XdX8iURoRHveCy+DM2dpSQHOVjD/rEx8FYSmqFNy4ht7KP 75SQ== 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:date; bh=JSlHclZmtsIhXDrADqtwVV/kwcW1yG8FtuGGuHHXf/w=; b=a27ESABS+DrPYY6X/V1lOK8+zQlDUKdmJIdC6tL0scLa4aSF5xT1XfGr7iq8kbPNbA Zi188FiY5MP8VGHnWcoRoHATn1wfuFN6NzZyEVMm628XKlaN9or7leqIS23Cm/SnjS0F 14Eue8fyyteH4d8jmDYtewlWIWyD21lRD5x3JvUl1Ldh0tnMiCJp/qPeretljMHd2mJN XgFGorjl0xny8kly3rHEgwKROfjoRhX8dzZfoAvF7llPU3pyQjknpnbPgjncsJd4gaFE 3VauSzFczq57CBmKtM99cRxKNQ/uiVesaeEoLXPpzTm6RuD4lom4bfGI7nVVcRbqV85o eyGg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y2-20020a170902ed4200b001a50dcd10c2si2401253plb.247.2023.06.01.02.37.36; Thu, 01 Jun 2023 02:37:50 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232651AbjFAJKM (ORCPT + 99 others); Thu, 1 Jun 2023 05:10:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232609AbjFAJKI (ORCPT ); Thu, 1 Jun 2023 05:10:08 -0400 Received: from outbound-smtp14.blacknight.com (outbound-smtp14.blacknight.com [46.22.139.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C10C4119 for ; Thu, 1 Jun 2023 02:10:06 -0700 (PDT) Received: from mail.blacknight.com (pemlinmail03.blacknight.ie [81.17.254.16]) by outbound-smtp14.blacknight.com (Postfix) with ESMTPS id DE0E41C3795 for ; Thu, 1 Jun 2023 10:10:04 +0100 (IST) Received: (qmail 22423 invoked from network); 1 Jun 2023 09:10:04 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.21.103]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 1 Jun 2023 09:10:04 -0000 Date: Thu, 1 Jun 2023 10:10:02 +0100 From: Mel Gorman To: Yang Shi Cc: Lorenzo Stoakes , Matthew Wilcox , linux-mm@kvack.org, Andrew Morton , linux-kernel@vger.kernel.org, Andrey Konovalov , Ingo Molnar , Marco Elver , Michal Hocko , David Howells Subject: Re: [PATCH] mm: remove unused alloc_pages_bulk_list() Message-ID: <20230601091002.zl3udcqxmb3tjtri@techsingularity.net> References: <20221217001554.554913-1-lstoakes@gmail.com> <20221219100734.jag6zejp4tug77yq@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Wed, May 31, 2023 at 02:29:01PM -0700, Yang Shi wrote: > On Wed, May 31, 2023 at 8:24???AM Lorenzo Stoakes wrote: > > > > On Mon, 19 Dec 2022 at 10:07, Mel Gorman wrote: > > > > > > On Sat, Dec 17, 2022 at 08:34:58AM +0000, Lorenzo Stoakes wrote: > > > I reckon we should give it another few months until May. There has been > > > one user recently that tried to use list but it turned out arrays were > > > more appropriate. > > > > > > > It being May 31st, it feels appropriate to chase this up :) > > > > David's series at [0] did initially use this function, before > > switching to the _array() variant. Other than that it seems that it > > remains unused. > > Thanks for following this up. My patchset (use bulk allocator for > dm-crypt) also switched from list API to a new callback API suggested > by Mel. But I haven't heard anything back from Mel about it yet. I > forgot to follow up due to too many distractions. > It needs a follow-up. My various inboxes that I get cc'd on currently exceed 1000 mails due to being offline a lot during the last few months so there could be a lot hiding in there. Conceptually at least I don't recall having any problem with the callback patches as long as the dm-crypt people are happy. I vaguely recall a review disappeared off into the weeds talking about maybe using physically contiguous pages (missing the point of using the bulk allocator at all and ignoring fragmentation concerns affecting allocation success rates) but I'm not certain. -- Mel Gorman SUSE Labs