Received: by 2002:a05:6358:f14:b0:e5:3b68:ec04 with SMTP id b20csp82245rwj; Thu, 22 Dec 2022 05:18:08 -0800 (PST) X-Google-Smtp-Source: AMrXdXu+uAPZxHa6bM2REPx2MmxTh6y20pR2Axe8nNfoCL49bWHWlXEIa2Qu9xv9WU4Mk8mu33+N X-Received: by 2002:aa7:c30b:0:b0:46b:c11:c8d2 with SMTP id l11-20020aa7c30b000000b0046b0c11c8d2mr4656237edq.40.1671715087970; Thu, 22 Dec 2022 05:18:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671715087; cv=none; d=google.com; s=arc-20160816; b=HPGrSqrv+C1niccrgn4M4RMKRb1eqiXMXLc6+8PPIiLdqOwkzB/RriR/wWG4Y4Fw5N 2G5v/pnVysplNZm/CzWy4mRi1/QH5sJL6VPCLcQoKdzytxdZpWlr85pjqQq0k8Abbtuk RTtzGo8ax4toDTmkOKvMjiix1yFPDQd74dD1jghb/+SAuY08KtCa0TOHKGf93CACQVxj 0ey6cvTg//7wZDLWpifoRhA9xKPdF0mPi0e4lhH8tNmkg5CvZj1/6N/yUogOByCeFnc8 mgFcyEYwDiFr42BD6lx81JqwiyhAqv019sLT41RJXvwLsWtJQEotCBAImq27WoA4OyCD V9iQ== 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=2rBBnAXnD5Etqe6g9RvZN5ObDKOiH+aoC4TYIyFkoLc=; b=1DjWvBDvCSaAYOOvWEq3jRkXOy+x/DyPnpSsLxuafkPiXrJoi6Fn7D9HfLB0wGW/ZQ 6QOfy5j34Pb3G5KUUBnqgM9yMY7XR0HKMV9stNMOG1n8aD5UACTcmf/jTUlT3g/NPi/E 9yURisEL4pjNXBaFXtoLtFfEXkp4qODqv7Y9j88hF0AAwYJtFiZlvOkzuq8/6KrQQCg4 h63+RbJhAHS+VQ8Fe6xvvUIkG0+fV9QO/ZNw2OYzxxwvHo+CjpcTZVC+HNJKQ+HGljZT MRDi1wyA9BYOh2eXV214mqP1HpZJMmWUoCZ6S36rC+2avS26/Ge4LRlvo6j5t8pA/+Fj WOiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=To9J7CD2; 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 c12-20020a056402120c00b00458d43beac7si600304edw.41.2022.12.22.05.17.52; Thu, 22 Dec 2022 05:18: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; dkim=pass header.i=@gmail.com header.s=20210112 header.b=To9J7CD2; 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 S235230AbiLVMi2 (ORCPT + 68 others); Thu, 22 Dec 2022 07:38:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230301AbiLVMi0 (ORCPT ); Thu, 22 Dec 2022 07:38:26 -0500 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A045D5E for ; Thu, 22 Dec 2022 04:38:25 -0800 (PST) Received: by mail-wm1-x32e.google.com with SMTP id z8-20020a05600c220800b003d33b0bda11so3996193wml.0 for ; Thu, 22 Dec 2022 04:38:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; 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=2rBBnAXnD5Etqe6g9RvZN5ObDKOiH+aoC4TYIyFkoLc=; b=To9J7CD2h2YZnIQZIMtowMgTc19f93NgPwCPHbdrYKed4fUtyOdeuuE3JJqVUUfExG UB8IfwKKqM4t/1ZddkQMshKjTLnuNgpNGqFAOrP76DX1GOB1gznF35SDGgISH35NGxLz wtDzEXTta0EK+kLma8jTKRliMQlTqk3VA7hsXDM4aWn9NJt6aueTTZeSok4NubAF1vE4 qq5KhVOQen49MwJRebLi4niFZ0dSSCmgiw2a0x3enEhlaVkkDhrAyLXgTX5lIOhpm01b 7IoyoTUAN+TQ64A9GjtdoweC8xvDRkmz+KKbKXMdxz/syV4S38l9jEWbPWkf8g6sm4FX RCTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=2rBBnAXnD5Etqe6g9RvZN5ObDKOiH+aoC4TYIyFkoLc=; b=qryU5rLdI+WUbztayTu7wK2D6M9DhG/zx/fW3ALO+ZiFGC/kCVFGQpNhcRTUGovBQK vMgDCxSwCN/GbeggQRbG2QR+nBSYvmugwR4d/NR/avdl2fyJq8qLVr4f50+9eobh1wwL Zv1PFxO9F9YaPLfEZiTiRMiz7GTg4kdv56Uc+hp5407ELNhiHSzUbbJZj1IHf7De3JiW eHf/omGVQqYUgAawUCJcuCk3f1vmD18D3140ZzNfQd2xC/YRdQa5V4h7flHNbsau77td 3R3xFnbgAN3/fQQfgfHC6/8TgKr0C6s1tPG0fOTc09LcxTCD+w9lSBgn6DwCTuqPdGzC PqMA== X-Gm-Message-State: AFqh2kobus/XvX5feOTfD2Byh/loXsupmgayD9h7K0vS/ywHzBrbmiGR m4v7OyQldL+t1qLpEG3iXac= X-Received: by 2002:a7b:c447:0:b0:3c6:e63d:adaf with SMTP id l7-20020a7bc447000000b003c6e63dadafmr4253840wmi.31.1671712703557; Thu, 22 Dec 2022 04:38:23 -0800 (PST) Received: from localhost ([2a00:23c5:dc8c:8701:fdcf:52c5:7af:c812]) by smtp.gmail.com with ESMTPSA id c10-20020a05600c0a4a00b003c6b70a4d69sm860981wmq.42.2022.12.22.04.38.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Dec 2022 04:38:22 -0800 (PST) Date: Thu, 22 Dec 2022 12:38:22 +0000 From: Lorenzo Stoakes To: Christoph Hellwig Cc: 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: References: <20221217001554.554913-1-lstoakes@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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 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, Dec 22, 2022 at 02:03:46AM -0800, Christoph Hellwig wrote: > Is that being snarky? :) We generally don't add dead code at all, and > certaintly don't leave it around for a year and a half. > > If anyone really needs this we can add it back. > Mel has replied elsewhere on this thread and we have a potential user so I think the lowest-impact approach is to go with what he suggested - wait until May and see if we have any takers. I have put a reminder in my calendar for then, I'll check to see if it's being used anywhere, if not I'll respin this patch. So problem solved for everyone :) > > Also, if we do get rid of this, then __alloc_pages_bulk() can lose > > the "list" argument. > > Yepp. Yeah the respin will take this into account, if the function remains unused in May.