Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp4470782rwj; Tue, 20 Dec 2022 10:30:24 -0800 (PST) X-Google-Smtp-Source: AA0mqf7kS1/BVwldCl6C/emGM4TrbPsJDLUzJFVao98oZaO6M5OE9579JrRWAVD8OO9cpu4L6cM4 X-Received: by 2002:a17:902:b20c:b0:189:3308:9a2b with SMTP id t12-20020a170902b20c00b0018933089a2bmr43974286plr.7.1671561024040; Tue, 20 Dec 2022 10:30:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671561024; cv=none; d=google.com; s=arc-20160816; b=ixcgXGiK1sN5p4Dt1gJqCikNtItH9qClHZaAl1UaXMJpD1oFoJPrw/eIPphF15DjyO rWB1tVp8AgAditVYPi//gQFBvqkCzSmqIAPebeQy/erukl6cGG8MXCg9UzWRnUpD49dN efnio0P2DwJhwrjSnPPpJsWJlHNoIT5AQXtPd/plkBLSsBfUdrrFZV5CFGn+INSfLhPH QD9fVe23T6bmxIISNrbZl0Thxbqac/PWvChWXK9cWFbOCUx5r/H0DTAq4sebdmPimcOs SUlCWeYXOi39VfQ4A44nbv0q/fxyvF/uuntEq7a0cgI4Q9yfk5nFCisiiL7KSSBgDm6R NXfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=WnsQ7W4+w46kWzm3CDvn6Yr9ZWGsCxW++5kHHfpJvH8=; b=CsPGvXndpLQ801I2iaSQvLvBbPid5if8elxnCm8jTvPC2jYFh8AA/jP9T+J5iG63e2 i6+Dnn9CNPgaKV34EAJseX3hNi6X8nhorAZtoj2qw3nNOQVKyj6Oh8rC6Fcnz3vBfjm+ DEdBilyYbbFH9QWMK1WJsKFcXub8EauSsyYdB2V9FZ7f7GTc/UssKtGChdBJ38toYDZW Zy2bEgeWmmidNF1+Tgc2SXXoxRbrUg+SHvU6NU+TtKiTTmiHTLNZlJdUMe44bp0261F6 FAp1u4ojSDUxImspn2CLut2gfcI58W7nZCyiPNq1nwj4W61bxkTZe7BjeRMCSvKv04nZ Y08w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="WqPQX/XN"; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e23-20020a656897000000b00477fdec4e0fsi15046014pgt.16.2022.12.20.10.30.14; Tue, 20 Dec 2022 10:30:24 -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; dkim=pass header.i=@gmail.com header.s=20210112 header.b="WqPQX/XN"; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233794AbiLTR4l (ORCPT + 69 others); Tue, 20 Dec 2022 12:56:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229756AbiLTR4b (ORCPT ); Tue, 20 Dec 2022 12:56:31 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 327D7116B for ; Tue, 20 Dec 2022 09:56:31 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id z8-20020a17090abd8800b00219ed30ce47so17258010pjr.3 for ; Tue, 20 Dec 2022 09:56:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=WnsQ7W4+w46kWzm3CDvn6Yr9ZWGsCxW++5kHHfpJvH8=; b=WqPQX/XN3ypnmZR7hVdZaErjEpeBprcSPWJZRlN5w7lez6a167Y0Tbfew6lzmirQVF KN+x/awIInFQx32HhHQDxRZcwN3eGwoeUd+h37lIW4/xOicA5YFuqhfV4Cqh+F40t+HY CXnT1PVVebxNGA+xr0NcFg87xpg1z2x75Bi71IGrsHPXzc4ex2HVFyfCTW8YVM1h2DK0 AOzlQIXSYr2Uaek6S3ZZvfKDcZo0uY4e7k2QNEE5RmoEgRErG7ZmeErFBk4Ptt7OjCvU Gnf5wHzJYavQyjCJs6hZDnNosZSLfvJ0KAAQdoSLfcoNs9Jy95WgtMaCz2cfwsIZ5xW2 dvuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=WnsQ7W4+w46kWzm3CDvn6Yr9ZWGsCxW++5kHHfpJvH8=; b=T2Mbit/4gAiXTeF9p2QgiOUlxoHEscHaY3SuYBsEy6gnF0zHRidBzd316+cfIhEGOw FxUCehG762ZFJBS75w1ScU8UWIry1V9SDokIAzk9+P1nPtrRfBbZBD4IFWfibcr/PMMV hKuA8luVcyNoZgxpB+0xT9U1STXo2hAqrzl8+k5PeWq9kyk5hOjQblaid/EknXPj3K7N vgnXHJNaiavGjWSg3egGYGNXixISuKFJMuXNeWphBCI7uVFY2QQv9PPUBz2X0pth5+3F 0WUo51dyxd9L2AqgyklGJLTSGKeUcL8rGla4VoVaxjYx7lfsJsCFMW5hZrR87Q+FzKG2 1qsw== X-Gm-Message-State: AFqh2kqDy9zc7Ksdu6Pj0DJkYzSsPnaMKL2+opU4Zj7sVaHLYeZfXaUt L0aqCTrxp0QqBoD3JD9QtP2/E7r9p96U57n5uQs1oTPO X-Received: by 2002:a17:902:ccc5:b0:191:2b33:7010 with SMTP id z5-20020a170902ccc500b001912b337010mr254971ple.119.1671558990724; Tue, 20 Dec 2022 09:56:30 -0800 (PST) MIME-Version: 1.0 References: <20221217001554.554913-1-lstoakes@gmail.com> <20221219100734.jag6zejp4tug77yq@techsingularity.net> In-Reply-To: <20221219100734.jag6zejp4tug77yq@techsingularity.net> From: Yang Shi Date: Tue, 20 Dec 2022 09:56:19 -0800 Message-ID: Subject: Re: [PATCH] mm: remove unused alloc_pages_bulk_list() To: Mel Gorman Cc: Lorenzo Stoakes , Matthew Wilcox , linux-mm@kvack.org, Andrew Morton , linux-kernel@vger.kernel.org, Andrey Konovalov , Ingo Molnar , Marco Elver , Michal Hocko Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 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? 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. > > -- > Mel Gorman > SUSE Labs >