Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp51355rwj; Thu, 22 Dec 2022 04:57:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXs5kMrNAQDJYoggKIlu3tFsR91r7gV/m3sY7MBwTFqVxAStJlWrTsFGb+KOVvuY0r6Mr58n X-Received: by 2002:a62:79d7:0:b0:57f:7d69:8d94 with SMTP id u206-20020a6279d7000000b0057f7d698d94mr6982259pfc.22.1671713827968; Thu, 22 Dec 2022 04:57:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671713827; cv=none; d=google.com; s=arc-20160816; b=taLumZHyNcjdXq8c6yWGWBovZND9K4No9qinm9Y9G0RO+2QOStYtMMjvckPGEcDArD NA/q0LEybG8K0RTdcifJ/BFSTl2G1PwZ8EpJKl/RRW7hXxGu9MtHQkJRLHeodGnVeYzx 5Q7iurNR1OXMevJpAoVpyWRWYUFQwNAJZKHRodozzi25lFMnANGhb/dDDWmkqP+AOfRz +orxVbogcfqV+KwZEx7PiVzKG0NCY1oavTpZ5kiOSKFQ/i4sfz3tvX9jgKj4B323q2E8 sak/jHwNdI/BVPf58IfY0Tfes6qDvsVc4JSnOOn7wcK+HxXXliMwWCh38xTDOeJr4FNS PJvQ== 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=HMzJLF2OBCUxcAuogEXsI2RHrrSHWMVsKtuKiPLTiXI=; b=w1ErJNtxZmglzC1i2IcGDSKN3XoNvKmDdKqM++u7ZwxVzAO59rNvgTGCB8TeF38b+V DCTh6YvoO93PWLqjFJRkTw7lfvJ4XBvbdlZhh0RJtCXIqpP+G4t0ZHk+LD4WUJ/5HzBc 91YubTwuq+h4Z4HsrmT3YQAYS2pcAbKB0GUvIQ7BQC4IYhaNc4UQDXmg5hoamMyOFPRF VXL2SESito1Anhm+u8MNBk74LzsE2sg25Sw1raRE0NooRsxjVQbXwRzxmXHt8CwQjqxy bC/hLD38D7TT/Ne3lvERkoYo/AGS7kA6D5q1dsa1+yDNaVRFZwrjwWr0ku7rF9eYnvFF bhog== 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 b13-20020a056a000a8d00b0057509d0411esi628028pfl.192.2022.12.22.04.56.57; Thu, 22 Dec 2022 04:57:07 -0800 (PST) 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 S235523AbiLVMoU (ORCPT + 67 others); Thu, 22 Dec 2022 07:44:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35106 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235261AbiLVMoS (ORCPT ); Thu, 22 Dec 2022 07:44:18 -0500 Received: from outbound-smtp15.blacknight.com (outbound-smtp15.blacknight.com [46.22.139.232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E77423E9F for ; Thu, 22 Dec 2022 04:44:16 -0800 (PST) Received: from mail.blacknight.com (pemlinmail05.blacknight.ie [81.17.254.26]) by outbound-smtp15.blacknight.com (Postfix) with ESMTPS id BD89C1C36CD for ; Thu, 22 Dec 2022 12:44:14 +0000 (GMT) Received: (qmail 19094 invoked from network); 22 Dec 2022 12:44:14 -0000 Received: from unknown (HELO techsingularity.net) (mgorman@techsingularity.net@[84.203.198.246]) by 81.17.254.9 with ESMTPSA (AES256-SHA encrypted, authenticated); 22 Dec 2022 12:44:14 -0000 Date: Thu, 22 Dec 2022 12:44:12 +0000 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 Subject: Re: [PATCH] mm: remove unused alloc_pages_bulk_list() Message-ID: <20221222124412.rpnl2vojnx7izoow@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 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 Tue, Dec 20, 2022 at 09:56:19AM -0800, Yang Shi wrote: > On Mon, Dec 19, 2022 at 2:07 AM Mel Gorman wrote: > > > > On Sat, Dec 17, 2022 at 08:34:58AM +0000, Lorenzo Stoakes wrote: > > > + Mel > > > > > > On Sat, Dec 17, 2022 at 04:56:03AM +0000, Matthew Wilcox wrote: > > > > I think we're waiting to see if any users show up. It's only been 18 > > > > months or so, so perhaps wait a little longer? > > > > > > Apologies, I should have researched the background of this further. I see it was > > > added speculatively in 0f87d9d30f. > > > > > > > Also, if we do get rid of this, then __alloc_pages_bulk() can lose > > > > the "list" argument. > > > > > > Ack. Will do a v2 if Mel feels it's appropriate to remove at this stage, > > > otherwise we can drop the idea and wait for users to emerge. > > > > 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. > > Another recent try was the patches for dm-crypt. However Mel suggested > adding a callback interface instead of using list since list is not > necessary for that usecase. Or are we talking about the same one? > That was the one I was thinking of but forgot the specifics so the array comment was wrong. I only remembered that there was an attempted list user but it wasn't the best solution. > I didn't get time to implement Mel's suggestion yet due to my > employment change. Hopefully I can find some time after the new year. > No rush. -- Mel Gorman SUSE Labs