Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1377266rwd; Thu, 1 Jun 2023 14:52:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7fmnaSIveAPJD4Eutkqy1G3JoHHxlR1dmnDnk1Lk0U/fURjHtGHTVrS+5rs/ibx0u2WXyT X-Received: by 2002:a17:90a:2cc6:b0:256:2590:818 with SMTP id n64-20020a17090a2cc600b0025625900818mr442718pjd.33.1685656352949; Thu, 01 Jun 2023 14:52:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685656352; cv=none; d=google.com; s=arc-20160816; b=Qs0pbKaqbRi0hpZOgpGFItEdtgMI01tgpHMMONGcPxv7pIimJFD/GUsvSriFWHze1R 8QxkHqQkvTreOlHLPWLEcvUIwgCTrVc/Sqpo1R3fgODsoJt/QMaG+RrZJklYpHbtmanD m07pX3efbp/dMS9zaK6BQtuaM1U/rX/ym5Rz3Xt8vasIEFLHCvt/lbZieYV/R0aRVvdX ozoLrVvjkQlo8pl7ELGy9NuaLmymsYaWpveS6MrrT3hXZ6oKyZ62Mjus7AnuENxPMXsk l9L6zKHvtwHjNC1xdN+TNmLFa/qlyO0eEoOSwgtKs1KvFIXIyn9Q2cPFkSLBQAhdt18B /+jQ== 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:dkim-signature; bh=CV50tpPLXis1GlgJKl2TEoKhLRvf1nVlZ80Fuqk0QiY=; b=ZrvhVm/C6hHmNBNzjm0y3I/j76g6nFQQYZBVMcbI4wrf7y3PfiX8mvE9F2YsPNmZ3u F7LtFQ1af+YJY5EMQS76K8qb7kygTfoH4ve/WKzxNgbzGGmN3zutgwWRNozur+Uc0mdE oIr5HYScrn25UfO1u07T2gph8O5C7rm4QJKslLCUQ4OMdPQusZRCt5IK8utrTtSWxioZ 4wPEQiPbTVLYuJg/YcVyOj4Zgk+eqeD5pEiqzx4ewzdRwX39KT8dc0e5PsvqcmIuWr8P Q44BrnOpS5C6HwsSDw9zYb0LBypxD7swwLKyS/CfIeRwpGesRd7IoAZwxoixctiabz2R FFng== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b="ARn/uG+J"; 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 w24-20020a63af18000000b005428f77eff7si416802pge.854.2023.06.01.14.52.20; Thu, 01 Jun 2023 14:52:32 -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=@gmail.com header.s=20221208 header.b="ARn/uG+J"; 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 S231941AbjFAVox (ORCPT + 99 others); Thu, 1 Jun 2023 17:44:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59562 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229598AbjFAVow (ORCPT ); Thu, 1 Jun 2023 17:44:52 -0400 Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F745D1 for ; Thu, 1 Jun 2023 14:44:51 -0700 (PDT) Received: by mail-wm1-x32a.google.com with SMTP id 5b1f17b1804b1-3f60b3f32b4so13299395e9.1 for ; Thu, 01 Jun 2023 14:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685655889; x=1688247889; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=CV50tpPLXis1GlgJKl2TEoKhLRvf1nVlZ80Fuqk0QiY=; b=ARn/uG+JPfHQtjFRGkGjmUfS8LM7aZ8ldg1my/5FruqK8eYJEdcDGezm+2LoEZt4kd dyiEOvMbGkH7Tkr04Dj2a3j2nQrVS9io2CT34bsReFfisIBeRFfLh4KhuSwhWpKeEqLB 5ywOU5lGmuE6oVOrbQdafCflXURIEGY83xK/HGpDbUlFQwk+2xpcl+cvXpEuP2ii6dXG c+/TzXnG+3hGclidaylc/QOuysEG3+9EqEsvQj6Gy2Nhw/CI/t5WpGKnM0Wutyu9zQHP TiQ/6rNYpiffWQhqnYFdlTlKLqeRUK0tFrGUwn2gSqOOmKP1wIUEUClWs0ZRs/lcSRJQ O56Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685655889; x=1688247889; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=CV50tpPLXis1GlgJKl2TEoKhLRvf1nVlZ80Fuqk0QiY=; b=H3YqYjae5Fu6qWSSETOMaO9NELFzAKKE83+4ajAG6EicpEeH15JWAg1Gqv3lrVgW+J CpIoEcivDPfb/RJmMfIqpzi4sMmdLqMoINYgmJQHVPkhOtPiG78zxnlxwmTH1YCkHbz5 6TJaaxIxFQ2xUQ2t/LXGdnUjAoBd3hVaFJh51kD0Zp4EpYIjIViukcV9Y7PzoLD2W6Lz NyWr38//kIPwVVw9p2nMSLEFrgL+SxSO/FJCzq4U0MQpL9WBerZqIal4ZPWr/Ni6fjgA ys35TlEMjNEII5pLo1mOSpvAXoKJ2Bzd7dPeNQYT9WrwDBCR2qhqsyC6LTSnOHOIjs3D p4jw== X-Gm-Message-State: AC+VfDyEIZKT7Jd4bMgP8VvI9V31t7snwlR20YD/VtxUT0MWVwxbgGDC W27z3nAeWGmcCkQMNJvpUR0= X-Received: by 2002:a05:600c:b47:b0:3f6:5169:1ad5 with SMTP id k7-20020a05600c0b4700b003f651691ad5mr539645wmr.38.1685655889326; Thu, 01 Jun 2023 14:44:49 -0700 (PDT) Received: from localhost ([2a00:23c5:dc8c:8701:1663:9a35:5a7b:1d76]) by smtp.gmail.com with ESMTPSA id s19-20020a7bc393000000b003f4248dcfcbsm3552762wmj.30.2023.06.01.14.44.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Jun 2023 14:44:48 -0700 (PDT) Date: Thu, 1 Jun 2023 22:44:47 +0100 From: Lorenzo Stoakes To: Mel Gorman Cc: Yang Shi , 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: <8bfa7124-4306-4220-b0c6-81f318203fea@lucifer.local> References: <20221217001554.554913-1-lstoakes@gmail.com> <20221219100734.jag6zejp4tug77yq@techsingularity.net> <20230601091002.zl3udcqxmb3tjtri@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230601091002.zl3udcqxmb3tjtri@techsingularity.net> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,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 Thu, Jun 01, 2023 at 10:10:02AM +0100, Mel Gorman wrote: > 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. Entirely understandable re: this (rather trivial) removal, and obviously this is far from high priority so no rush. However, if you feel Yang's series ought to use a different interface and given no other users of alloc_pages_bulk_list() have emerged, I am happy to go ahead and respin the patch. If you want to wait absolutely no problem either! :) Cheers, Lorenzo > > -- > Mel Gorman > SUSE Labs